Reputation: 1209
I'm using JavaScript and TypeScript in WebStorm and I'm concerned about WebStorm's transpile behaviour. It transpiles every time I made a change in the TypeScript files.
Is it possible to change that transpile mode, so that transpiling is only happening when I'm saving?
Upvotes: 4
Views: 805
Reputation: 93728
If you are using built-in Typescript compiler service rather than a file watcher, uncheck 'Track changes
' in Settings | Languages & frameworks | TypeScript and use 'Compile All
' action to run the compiler explicitly
Upvotes: 3
Reputation: 1354
According to Webstorm documentation, You can change the TypeScript transpiler compile behavior by unchecking the immediate file synchronization
checkbox in Preferences > Tools > File Watchers > TypeScript dialog window.
If the TypeScript
File Watcher isn't listed in the File Watchers list, you need to create it.
Upvotes: 5