Skip to content

Commit 734d213

Browse files
committed
Make watchify ignore node_modules
1 parent 83a71d2 commit 734d213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/build-response.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function send(path, options) {
1818
} else if (options.cache === 'dynamic') {
1919
var response, resolve;
2020
var updatingTimeout;
21-
bundle = watchify(bundle, {poll: true, delay: 0});
21+
bundle = watchify(bundle, {poll: true, delay: 0, ignoreWatch: true});
2222
bundle.on('update', function () {
2323
if (resolve) {
2424
clearTimeout(updatingTimeout);

0 commit comments

Comments
 (0)