Skip to content

Commit 979ecc3

Browse files
authored
Merge pull request #194 from tansongyang/windows-incremental-compilation
Fix Windows path issue
2 parents 6b11ba1 + 0d7909d commit 979ecc3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/utilities/compile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ function buildWatchHooks(sys, callbacks) {
7373
let watcher = chokidar.watch(dir, { ignored, ignoreInitial: true });
7474

7575
watcher.on('all', (type, path) => {
76-
path = path.replace(/\\/g, '/'); // Normalize Windows
7776
if (type === 'add' && path.endsWith('.ts')) {
7877
fileChanged(type, path);
7978
callback(path);

0 commit comments

Comments
 (0)