call loader.js instead

v1.18.x
psychobunny 10 years ago
parent 24a11314dc
commit fac747cab7

@ -100,15 +100,15 @@ function launch(req, res) {
res.json({});
server.close();
var child = require('child_process').spawn('node', ['app.js'], {
var child = require('child_process').spawn('node', ['loader.js'], {
detached: true,
stdio: ['ignore', 'ignore', 'ignore']
});
fs.writeFile(__dirname + '../pidfile', child.pid, function() {
child.unref();
process.exit(0);
});
child.unref();
process.exit(0);
}
function compileLess(callback) {

Loading…
Cancel
Save