I have a file called SampleFile-dbg.js, so this is the full source debug file.
I need to have a File Watcher to minify this file (using Google Closure Compiler, or any other minify tool). However, the destination file needs to be SampleFile.js.
How can this be done?
SampleFile-dbg.js --> SampleFile.js
SampleClass-dbg.js --> SampleClass.js
AnotherLongNameClassFileName-dbg.js --> AnotherLongNameClassFileName.js
Are there any ideas?
I'm using WebStorm 7 on Windows 7.