-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.4.2 compiles in an endless loop #76
Comments
I can not reproduce the error. or grunt --verbose option log e.g. |
I've just found this error too. The TypeScript compiler is writing all source files out multiple times (so for 100 input files it will write out 100 * 100 = 10,000 files). Here is an example project showing the problem: https://github.com/Coridyn/grunt-typescript-debug Expected output: --host.writeFile: src/app.js
write file: src/app.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/app.js
--host.writeFile: src/other-file.js
write file: src/other-file.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/other-file.js
2 files created. js: 2 files, map: 0 files, declaration: 0 files Actual output: --host.writeFile: src/app.js
write file: src/app.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/app.js
--host.writeFile: src/other-file.js
write file: src/other-file.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/other-file.js
--host.writeFile: src/app.js
write file: src/app.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/app.js
--host.writeFile: src/other-file.js
write file: src/other-file.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/other-file.js
--host.writeFile: src/app.js
write file: src/app.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/app.js
--host.writeFile: src/other-file.js
write file: src/other-file.js => l:/User/projects/WidgetWorks/wiwo-playground/grunt-typescript-debug/dist/other-file.js
6 files created. js: 6 files, map: 0 files, declaration: 0 files (492ms) It looks like typescript.js
and tsc.js
|
Thanks Coridyn. It seems that my reading was not enough. |
0.4.1 seem to work fine, but the 0.4.2 compiles in an endless loop. It never finishes.
The text was updated successfully, but these errors were encountered: