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({}); res.json({});
server.close(); server.close();
var child = require('child_process').spawn('node', ['app.js'], { var child = require('child_process').spawn('node', ['loader.js'], {
detached: true, detached: true,
stdio: ['ignore', 'ignore', 'ignore'] stdio: ['ignore', 'ignore', 'ignore']
}); });
fs.writeFile(__dirname + '../pidfile', child.pid, function() {
child.unref(); child.unref();
process.exit(0); process.exit(0);
});
} }
function compileLess(callback) { function compileLess(callback) {

Loading…
Cancel
Save