-
Notifications
You must be signed in to change notification settings - Fork 75
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
Any plan to support --incremental flag? #249
Comments
|
Can you show an example of usage? It doesn't seem to work when setup this way:
|
I guess it doesn't work because tsify passes its own compiler host to TypeScript - to abstract the file system - as the compiled files need to be made available to Browserify via streams. I don't have time to look into this, ATM, but if it's something you'd be interested in looking into, I can give you some pointers regarding where to start in this codebase. |
With great pleasure. I've been digging into source code yesterday and will continue today. I'll let you know if I need help with it. |
Cool, I'll write up some pointers tonight - in about 6 hours or so. The main thing will be to switch debugging on and checkout the logs - to see if TypeScript is using the compiler host's API to write the intermediate data. |
@ericmorand I'd forgotten that I'd written an outline of the codebase. You should start with that. It's here. Once you've familiarised yourself with that, this is what I'd do:
|
I finally had the chance to perform a simple test. I have a simple TS project that consists of two files:
When I run I continue my investigations. |
I also confirm that |
I think the issue is related to: ts-loader guys seems to be stuck at the same point than tsify: What di you think? |
Yep. Probably worth having a look at - or keeping an eye on - TypeStrong/ts-loader#935 too. |
Looks like there has been some progress made regarding an api: microsoft/TypeScript#31432 |
Hello,
First off, thanks for this wonderful open source project. I've been regularly using this with browserify :)
Since typescript 3.4 introduced
--incremental
(see: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html), is there a plan to support the flag on tsify library? Seems it'd be nice not having to recompile everything when the build script is restarted (i.e. computer restart) :)The text was updated successfully, but these errors were encountered: