auto-combine .js files when running/debugging (no minify)?


Is there a way in WebStorm to give it a list of all our .js files, and it will then combine them into a everything.js every time we save or run the app? And combine them without minifying them?

This way we are testing the exact same setup as we'll have in production. And without the minify, we'll be able to debug them.

??? - thanks - dave

1 comment
Comment actions Permalink

Hi there,

You have File Watcher plugin which can execute any external task (batch/shell script, for example) on file save (or even on each key press, if so desired).

Such combining can be acheived by using your OS/shell functionality (copy/cp).. or some special build-tools (i.e. Ant (Java), Phing (PHP), Grunt (JS) etc)


Please sign in to leave a comment.