mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-03 06:10:38 +01:00
call loader.js instead
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user