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

Commit 2c7f232

Browse files
committed
Fixed live reloading in windows
1 parent 6011a7c commit 2c7f232

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
@@ -353,8 +353,8 @@ export class State {
353353
return this.updateFile(fileName, text, checked);
354354
}
355355

356-
normalizePath(path: string): string {
357-
return (<any>this.ts).normalizePath(path)
356+
normalizePath(filePath: string): string {
357+
return path.normalize(filePath);
358358
}
359359
}
360360

0 commit comments

Comments
 (0)