The best approach would be writing some npm/gulp/grunt or alike task (that does all the job -- as it will be aware of all needed files and what to do with them/in what order) and call it when needed (IDE has convenient way of calling them from within IDE -- dedicated tool window with the list of tasks or even as separate Run/Debug Configuration). e.g. https://blog.jetbrains.com/webstorm/2014/11/gulp-in-webstorm-9/
You may also use File Watchers -- to execute any specific external command on file save.
Hi there,
IDE does not have such functionality built-in.
The best approach would be writing some npm/gulp/grunt or alike task (that does all the job -- as it will be aware of all needed files and what to do with them/in what order) and call it when needed (IDE has convenient way of calling them from within IDE -- dedicated tool window with the list of tasks or even as separate Run/Debug Configuration). e.g. https://blog.jetbrains.com/webstorm/2014/11/gulp-in-webstorm-9/
You may also use File Watchers -- to execute any specific external command on file save.