TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

tsc -w is unacceptably slow

Open oliverjanik opened this issue 10 years ago • 61 comments

I'm on windows. Typescript version installed via npm is 1.7.5. When I do tsc -w typescript watches for changes but its change detection is really slow. I takes about 10s before it notices I made a change and then recompiles.

What could be causing this?

Edit: Node 5.3.0

oliverjanik avatar Dec 20 '15 23:12 oliverjanik

Os : windows 7 & file system : NTFS & You are using the tsc -w right? : Yes

And my tsconfig.json is below

{ "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "suppressImplicitAnyIndexErrors": true, "typeRoots": [ "./node_modules/@types/" ] }, "compileOnSave": true, "exclude": [ "node_modules/", "**/-aot.ts" ] }

sumant30 avatar Mar 31 '17 02:03 sumant30