Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Commit 4612c5e

Browse files
committed
Merge pull request #73 from davidmiani/master
Fixed live reloading in windows, fixes #72
2 parents 19c559a + 2c7f232 commit 4612c5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/host.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ export class State {
336336
return this.updateFile(fileName, text, checked);
337337
}
338338

339-
normalizePath(path: string): string {
340-
return (<any>this.ts).normalizePath(path)
339+
normalizePath(filePath: string): string {
340+
return path.normalize(filePath);
341341
}
342342
}
343343

0 commit comments

Comments
 (0)