Remove empty javascript files in development mode?
By looking at your example and trying on my own I can see that a javascript file that only requires other javascript files and does not contain any code in itself, is still included in the script tags when running in development mode.
I understand that this is not really a big issue, but I think it would be nice that if this file does not contain any code on it's own, it would not be included.
For example, I have this libs.js file:
//= require ./backbone.marionette/jquery.js
//= require ./backbone.marionette/json2.js
//= require ./backbone.marionette/underscore.js
//= require ./backbone.marionette/backbone.js
When I run the app in development mode, there is a libs.js injected to my HTML. When I open the libs.js, it looks like this:
/*** vendor/js/libs ***/
;
As you can see, it simply adds a bit of overhead by requiring an extra HTTP request. This is not really an issue in development or testing, but it would be nice to keep things clean.