Skip to content

tsc -w vs visual studio compile on save #9373

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

Closed
anjmao opened this issue Jun 27, 2016 · 1 comment
Closed

tsc -w vs visual studio compile on save #9373

anjmao opened this issue Jun 27, 2016 · 1 comment
Labels
Fixed A PR has been merged for this issue

Comments

@anjmao
Copy link

anjmao commented Jun 27, 2016

I'm using Typescript 1.8.10 and Karma in watch mode.

  1. If I run tsc -w and change any file, karma detects that all my source files was changed (bad)
  2. I have big solution with more what 1000 files and get a lot of annoyingINFO [watcher]: Changed file "...file.js" output messages in karma console (bad).
  3. Usually I use fdescribe or fit jasmine methods to run only related tests for code changes. This makes tests run much faster, but I still should white up to 10 seconds because I get 1000 File changed messages in console. I tried to set karma logLevel to config.LOG_ERROR, but delay is still the same. (bad)
  4. If use Visual Studio 2015 it works fine and karma notify only about one file changes which I'm editing (good)

Maybe we can emit only changed file, like in Visual Studio?

@mhegazy
Copy link
Contributor

mhegazy commented Jun 27, 2016

#6937 should fix this. a file is only modified if it has changed.

@mhegazy mhegazy closed this as completed Jun 27, 2016
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Jun 27, 2016
@mhegazy mhegazy added this to the TypeScript 2.0 milestone Jun 27, 2016
@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
Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants