micro-dev icon indicating copy to clipboard operation
micro-dev copied to clipboard

micro-dev exits on error

Open hasparus opened this issue 7 years ago • 3 comments

🍰 Expected behavior:

My code gets up after crash, thanks to amazing power of micro-dev.

💥 Actual behavior:

[d:micro] npm ERR!
[d:micro] npm ERR! Faioled at the [email protected] d:micro script.
[d:micro] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[d:micro]

Both my microservice and micro-dev die because I've made typo and saved. Hot reloading combined with exiting on error actually means I restart the server more times than I would have without hot reload. 😢

Pretty nice package in spite of it.

hasparus avatar Oct 16 '18 21:10 hasparus

I have the exact same problem. VS Code autosave features makes my micro-dev server crash all the time due to typos while still typing.

roelvan avatar Nov 12 '18 07:11 roelvan

+1

This is annoying :'(

renatorib avatar Apr 27 '19 23:04 renatorib

+1 necessary. terrible shortcut is to use nodemon to wrap micro-dev, but that's not exactly... good.

shrugs avatar Aug 29 '19 16:08 shrugs