Errors in TypeScript kill the development server
grtlr opened this issue · 1 comments
grtlr commented
The run dev
server shuts down and closes the connection when there is an error in one of the TypeScript files. Then, once the error is resolved, additional changes are not picked up by livereload
.
To reproduce this problem, simply set up the the repository and introduce a typo in main.ts
. My bet would be that rollup is unable to recover from errors in the TypeScript compiler right now. Has anyone found a solution to this? Thank you!
grtlr commented
Adding noEmitOnError: false
to the configuration of the TypeScript plugin fixed this for me.