Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm: Possible to transpile of TypeScript File only when saving

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?

like image 342
Hakan Kiyar Avatar asked Feb 08 '23 08:02

Hakan Kiyar


1 Answers

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.

enter image description here

If the TypeScript File Watcher isn't listed in the File Watchers list, you need to create it.

like image 167
severin.julien Avatar answered Feb 10 '23 23:02

severin.julien