smieder
Simple node express middleware to concat and/or compress javascript files on the fly. It basically is a middleware for node-minify taking care of modification of the scriptfiles, no file watchers are used.
Install
npm i smieder
Usage
When setting up your routes in your express app, just set up routes to your desired urls with the smieder.
const smieder = ; // .... app;
Remark
On every request received, the modification timestamps of the javascript files are checked and written to a file corresponsting to the save option.
eg., if you specified "public/javascripts/libs.min.js"
a file "public/javascripts/~libs.min.js.times"
gets created.
You might find it useful to add a .gitignore for *.times.