typescript --out compilation step
Hi
I have setup a File watcher to compile typescript and everything works fine.
I want to add a final step that invokes the typescript compiler on the main app with --out flag and concatenates everything into one js file.
Is this possible in webstorm?
James
请先登录再写评论。
Hello!
Sure - just modify the arguments field in your file watcher settings accordingly (like --sourcemap $FileName$ --out $FileNameWithoutExtension$.js). See the attached screenshot
Attachment(s):
watcher.png
make sure not to forget to check the box for "track root files only" like I did, or the compiler will be running like mad ;)