Skip to content

Commit bdcf4c3

Browse files
committed
Resolve path before handoff
1 parent 8eb58f1 commit bdcf4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utilities/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function buildWatchHooks(project, ts, callbacks) {
9696
return;
9797
}
9898

99-
let dir = getCanonicalCapitalization(rawDir);
99+
let dir = getCanonicalCapitalization(path.resolve(rawDir));
100100
let ignored = buildIgnoreRegex(dir, ignorePatterns);
101101
let watcher = chokidar.watch(dir, { ignored, ignoreInitial: true });
102102
debug(`watching directory %s %o`, dir, { ignored });

0 commit comments

Comments
 (0)