mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 11:15:14 +00:00
Re-upgrade chokidar, disable globbing
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user