Skip to content
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

Proposal: Incremental build mode #3782

Closed
kuon opened this issue Jul 8, 2015 · 2 comments
Closed

Proposal: Incremental build mode #3782

kuon opened this issue Jul 8, 2015 · 2 comments
Labels
API Relates to the public API for TypeScript Question An issue which isn't directly actionable in code

Comments

@kuon
Copy link

kuon commented Jul 8, 2015

I am using tsify and browserify to build my typescript application.

It works, but it is sadly very slow ( TypeStrong/tsify#54 ).

It seems the typescript compiler would need an incremental build mode to make "tsify like uses" faster. The same issue arises when using typescript in something like ruby on rails asset pipeline.

The incremental build mode would work exactly like tsc -w but it would use an on disk cache that could be used for fast compilation if the same command is issued again.

@mhegazy
Copy link
Contributor

mhegazy commented Jul 8, 2015

The compiler provide a services API that can do most of this work. gulp-typescript uses the same API for incremental compilation. the other alternative is to use the new ts.transpile interface similar to the support in es6-module-loader.

@mhegazy mhegazy added Question An issue which isn't directly actionable in code API Relates to the public API for TypeScript labels Jul 8, 2015
@kuon
Copy link
Author

kuon commented Jul 8, 2015

I'll have a deeper look at the API and see if I can improve the compilation speed. I'll come back here if more support is required on the typescript compiler side.

@kuon kuon closed this as completed Jul 8, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API Relates to the public API for TypeScript Question An issue which isn't directly actionable in code
Projects
None yet
Development

No branches or pull requests

2 participants