You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to microsoft/TypeScript#4864, the simple transpileModule function in the TypeScript compiler only reports syntax errors (which is what babylon gives you anyway). For real errors, we'd need something more sophisticated, likely using language services to watch the filesystem. pundle is already using chokidar for watching.
TBD:
Is there a way to replace pundle's watcher with TypeScript's when using pundle-typescript?
What's the performance impact on letting both do the watching (pundle for bundling and TypeScript for error reporting)?
How much work it would be to write a Language Services-based pundle plugin?
The text was updated successfully, but these errors were encountered:
Note to self This has now been fixed in the v2 struct by allowing all components to specify a activate() and dispose(). In theory a pundle-loader-typescript should be able to setup it's watchers on activate(), report any errors it sees on this.report(error) and when all compilation/watching is done, it can just dispose the watcher on disposes()
According to microsoft/TypeScript#4864, the simple
transpileModule
function in the TypeScript compiler only reports syntax errors (which is what babylon gives you anyway). For real errors, we'd need something more sophisticated, likely using language services to watch the filesystem.pundle
is already using chokidar for watching.TBD:
The text was updated successfully, but these errors were encountered: