Skip to content

Commit

Permalink
Merge pull request #358 from jeron-diovis/fix_watchify_for_mac_os
Browse files Browse the repository at this point in the history
Enable "update" event emitting for MacOS
  • Loading branch information
tleunen committed Mar 11, 2016
2 parents 2d41265 + 9e1ef01 commit ace5e1f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ace5e1f

Please sign in to comment.