|
|
@ -147,7 +147,6 @@ module.exports = function(Meta) {
|
|
|
|
Meta.js.cache = minifiedString;
|
|
|
|
Meta.js.cache = minifiedString;
|
|
|
|
Meta.js.map = mapString;
|
|
|
|
Meta.js.map = mapString;
|
|
|
|
winston.info('[meta/js] Compilation complete');
|
|
|
|
winston.info('[meta/js] Compilation complete');
|
|
|
|
emitter.emit('meta:js.compiled');
|
|
|
|
|
|
|
|
minifier.kill();
|
|
|
|
minifier.kill();
|
|
|
|
|
|
|
|
|
|
|
|
if (cluster.isWorker) {
|
|
|
|
if (cluster.isWorker) {
|
|
|
@ -228,6 +227,7 @@ module.exports = function(Meta) {
|
|
|
|
], function (err) {
|
|
|
|
], function (err) {
|
|
|
|
if (!err) {
|
|
|
|
if (!err) {
|
|
|
|
winston.info('[meta/js] Client-side minfile and mapping committed to disk.');
|
|
|
|
winston.info('[meta/js] Client-side minfile and mapping committed to disk.');
|
|
|
|
|
|
|
|
emitter.emit('meta:js.compiled');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
winston.error('[meta/js] ' + err.message);
|
|
|
|
winston.error('[meta/js] ' + err.message);
|
|
|
|
process.exit(0);
|
|
|
|
process.exit(0);
|
|
|
|