browserify / watchify

watch mode for browserify builds
Other
1.79k stars 181 forks source link

Add troubleshooting information for silenced errors #351

Closed menzow closed 6 years ago

menzow commented 6 years ago

There's been some issues and confusion (https://github.com/browserify/watchify/issues/350, https://github.com/browserify/watchify/issues/323, https://github.com/browserify/watchify/issues/266) about the change in behavior introduced by watchify when it is registered as browserify plugin.

Some people expect node to crash on errors, and are not aware of how Nodes event handling system works. Although this isn't a issue directly related to watchify, it might be helpful to have some guidance in the docs..

I've added a extra subsection to the troubleshooting docs. And I also updated the example snippet with a error handler.

Closes #350 Closes #323

goto-bus-stop commented 6 years ago

makes sense to me. thanks!

menzow commented 6 years ago

Great to see this still getting into master. Thanks @goto-bus-stop