From fac747cab7f9ef96eef4e6e6d3ed526e26ba9ce7 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 22 Apr 2015 17:59:08 -0400 Subject: [PATCH] call loader.js instead --- install/web.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/web.js b/install/web.js index cbfd87c8ac..35343d91af 100644 --- a/install/web.js +++ b/install/web.js @@ -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) {