mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 22:05:55 +00:00
fix: patch for infinite loop with panic override (#1964)
This commit is contained in:
parent
5b72620c92
commit
80df4fa11d
@ -192,7 +192,10 @@ class Watcher {
|
|||||||
this.logger.trace(files);
|
this.logger.trace(files);
|
||||||
|
|
||||||
let configWatcher = chokidar.watch(files, {
|
let configWatcher = chokidar.watch(files, {
|
||||||
ignored: /[\/\\]\.|tmp_/, persistent: true, ignoreInitial: true, followSymlinks: true
|
// FIXME this should be handled by the nim-compiler plugin somehow
|
||||||
|
// panicoverride.nim is a file added by nimplay when compiling but then removed
|
||||||
|
// If we don't ignore that file, we start an inifite loop of compilation
|
||||||
|
ignored: /[\/\\]\.|tmp_|panicoverride\.nim/, persistent: true, ignoreInitial: true, followSymlinks: true
|
||||||
});
|
});
|
||||||
this.fileWatchers.push(configWatcher);
|
this.fileWatchers.push(configWatcher);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user