Skip to content

Optimize compile-on-save if for code bases with modules #3204

Closed

Description

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.

Activity

  1. added
    Visual StudioIntegration with Visual Studio
    BugA bug in TypeScript
    and removed
    SuggestionAn idea for TypeScript
    on May 18, 2015
  2. 8 remaining items

  3. jonaskello commented on Feb 2, 2016

    @jonaskello

    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?

  4. changed the title [-]Optimize compile-on-save if `--isolatedModules` flag is set[/-] [+]Optimize compile-on-save if for code bases with modules[/+] on May 5, 2016
  5. myitcv commented on May 6, 2016

    @myitcv

    Alex Eagle (@alexeagle) - presumably any Angular 2 app uses modules and so there would be significant benefit to your users if this change were to land?

    Mohamed Hegazy (@mhegazy) - this is tagged as 'Visual Studio' but I don't think it's specific to either Visual Studio or "compile-on-save"?

  6. mhegazy commented on Sep 29, 2016

    @mhegazy
    ContributorAuthor

    This should be done in #9837

  7. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions