use nightmare for testing

This commit is contained in:
Rich Harris
2017-12-21 16:48:53 -05:00
committed by GitHub
parent 43a12a8331
commit 0bcb61650b
23 changed files with 1351 additions and 4461 deletions

View File

@@ -21,7 +21,8 @@ update();
if (dev) {
const watcher = chokidar.watch(`${src}/**/*.+(html|js|mjs)`, {
ignoreInitial: true
ignoreInitial: true,
persistent: false
});
watcher.on('add', update);