diff --git a/lib/runner.js b/lib/runner.js index 97f1add..a2a440b 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -180,7 +180,10 @@ function doBundle(browserifyInstance, opts, bundleComplete) { else { bundleComplete(err, buf); } - }); + }) + // Need this to ensure it works on MacOS + // See 'important' note here: https://github.com/substack/watchify#var-w--watchifyb-opts + .on('data', function() {}); } function testForGlob(id) {