Skip to content

Commit 65e6bc9

Browse files
committed
disable recusive on linux
1 parent 49cddc0 commit 65e6bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = function(script, scriptArgs, nodeArgs, opts) {
4242
forcePolling: opts.poll,
4343
interval: parseInt(opts.interval),
4444
debounce: parseInt(opts.debounce),
45-
recursive: true
45+
recursive: process.platform !== 'linux'
4646
})
4747
var starting = false
4848
watcher.on('change', restart)

0 commit comments

Comments
 (0)