if env is dev, don't re-compile rjs files

faster reboot & easier to debug on browsers that don't support
sourcemaps
v1.18.x
psychobunny 10 years ago
parent 8de978fbcf
commit 11c83079f2

@ -48,11 +48,16 @@ module.exports = function(Meta) {
'public/src/translator.js',
'public/src/helpers.js',
'public/src/overrides.js'
]
],
rjs: []
}
};
Meta.js.loadRJS = function(callback) {
if (global.env === 'development') {
return callback();
}
var rjsPath = path.join(__dirname, '../../public/src');
async.parallel({

Loading…
Cancel
Save