Skip to content

Commit 33734a2

Browse files
committed
use a more performant watch timeout
1 parent 376a731 commit 33734a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ var SolidusServer = function( options ){
189189

190190
var watcher = this.watcher = chokidar.watch( paths.site, {
191191
ignored: /^\./,
192-
ignoreInitial: true
192+
ignoreInitial: true,
193+
interval: 1000
193194
});
194195

195196
watcher.on( 'add', function( file_path ){

0 commit comments

Comments
 (0)