From 9e1ef0141850fe7e61d20f87533e383a806cc7d9 Mon Sep 17 00:00:00 2001 From: Andrey Bobukh Date: Mon, 5 Oct 2015 12:01:21 +0300 Subject: [PATCH] Enable "uodate" event emitting for MacOS --- lib/runner.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/runner.js b/lib/runner.js index 40cddc7..af5974b 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -190,7 +190,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) {