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
@@ -242,6 +245,19 @@ and [stackoverflow](http://stackoverflow.com/questions/26708205/webpack-watch-is
242
245
Try the `--poll` flag
243
246
and/or renaming the project's directory - that might help.
244
247
248
+
## watchify swallows errors
249
+
250
+
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))
251
+
252
+
**Example:**
253
+
```
254
+
var b = browserify();
255
+
b.bundle()
256
+
.on('error', console.error)
257
+
...
258
+
;
259
+
```
260
+
245
261
# see also
246
262
247
263
-[budo](https://www.npmjs.com/package/budo) – a simple development server built on watchify
0 commit comments