Re-upgrade chokidar, disable globbing

This commit is contained in:
Joshua Kifer
2018-04-03 12:58:06 -07:00
parent a5d141d2f1
commit 0e3abe489a
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
},
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"chokidar": "^1.7.0",
"chokidar": "^2.0.3",
"clorox": "^1.0.3",
"cookie": "^0.3.1",
"devalue": "^1.0.1",

View File

@@ -311,7 +311,8 @@ function watch_files(pattern: string, events: string[], callback: () => void) {
const watcher = chokidar.watch(pattern, {
persistent: true,
ignoreInitial: true
ignoreInitial: true,
disableGlobing: true
});
events.forEach(event => {