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
@@ -221,6 +224,19 @@ and [stackoverflow](http://stackoverflow.com/questions/26708205/webpack-watch-is
221
224
Try the `--poll` flag
222
225
and/or renaming the project's directory - that might help.
223
226
227
+
## watchify swallows errors
228
+
229
+
To ensure errors are reported you have to add a event listener to your bundle stream. For more information see ([browserify/browserify#1487 (comment)](https://github.com/browserify/browserify/issues/1487#issuecomment-173357516) and [stackoverflow](https://stackoverflow.com/a/22389498/1423220))
230
+
231
+
**Example:**
232
+
```
233
+
var b = browserify();
234
+
b.bundle()
235
+
.on('error', console.error)
236
+
...
237
+
;
238
+
```
239
+
224
240
# see also
225
241
226
242
-[budo](https://www.npmjs.com/package/budo) – a simple development server built on watchify
0 commit comments