File watcher compile all .ts files in directory into $DirName$.js

What I am attempting to do is reduce the number of .js files I have by compiling all the typescript files in each particular directory into 1 file.

So if I have

My ideal file watcher would output

The problem I am running into is that I cannot get command line substitutions to work with the file watchers for pycharm and tsc.cmd does not have an input directory argument..

any ideas?

Thanks for reading!

Please sign in to leave a comment.