-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Optimize compile-on-save if for code bases with modules #3204
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
Comments
--separateCompilation
flag is set--isolatedModules
flag is set
I'm trying to do hot reloading with tsc -w but it seems impossible since all files are always updated, so the hot-reloader always reloads everything. Any news on this issue? Will it be in 2.0? |
--isolatedModules
flag is set
@alexeagle - presumably any Angular 2 app uses modules and so there would be significant benefit to your users if this change were to land? @mhegazy - this is tagged as 'Visual Studio' but I don't think it's specific to either Visual Studio or "compile-on-save"? |
This should be done in #9837 |
For code bases using modules, it would be safe to emit only modules and their dependencies, but not the whole solution.
Moreover, the
--isolatedModules
flag ensures that the output is safe to only emit a single file.The text was updated successfully, but these errors were encountered: