WebStorm: option to forward TypeScript file only when saving

I use JavaScript and TypeScript in WebStorm, and I am concerned about the behavior of Transpile in WebStorm. It is converted every time I make changes to TypeScript files.

Is it possible to change this transfer mode so that the transpilation is performed only when I save?

+4
source share
2 answers

According to the Webstorm documentation , you can change the compilation behavior of the TypeScript translator by unchecking immediate file synchronizationthe "Settings"> "Tools"> "File" Observers> TypeScript.

enter image description here

TypeScript " ", .

+5

Typescript, , "Track changes" | | Typescript 'Compile All',

+3

Source: https://habr.com/ru/post/1619324/


All Articles