Skip to content

Commit d620b8d

Browse files
committed
buildIgnoreDefs
1 parent 30b1fc7 commit d620b8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utilities/compile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function buildWatchHooks(project, ts, callbacks) {
8080
}
8181

8282
let dir = getCanonicalCapitalization(path.resolve(rawDir));
83-
let ignored = buildIgnoreRegex(dir, ignorePatterns);
83+
let ignored = buildIgnoreDefs(dir, ignorePatterns);
8484
let watcher = chokidar.watch(dir, { ignored, ignoreInitial: true });
8585
debug(`watching directory %s %o`, dir, { ignored });
8686

@@ -105,7 +105,7 @@ function buildWatchHooks(project, ts, callbacks) {
105105
});
106106
}
107107

108-
function buildIgnoreRegex(rootDir, patterns) {
108+
function buildIgnoreDefs(rootDir, patterns) {
109109
let base = escapeRegex(rootDir);
110110
let sep = `[/\\\\]`;
111111
return [

0 commit comments

Comments
 (0)