Closed thebuilder closed 10 years ago
This was causing watchify to crash whenever it tried to compile a .js file with invalid syntax. Now it will emit an error that you can handle:
bundler.bundle(opts)
.on('error', function(error) {
handleErrors(error);
})
Thanks!
If an error is thrown the transform will catch it, instead of throwing an error and causing node to stop.