Skip to content

Commit

Permalink
Merge pull request #80 from pinnamur/TIMOB-17181
Browse files Browse the repository at this point in the history
TIMOB-17181 LiveView: build fails when installing on a different device/...
  • Loading branch information
cb1kenobi committed Jun 26, 2014
2 parents 088a0b2 + 65ca485 commit 40339b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions hook/lvhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,9 @@ exports.init = function(logger, config, cli) {
http
.get('http://localhost:8324/kill', function(res){})
.on('error', function(e){
startServer(finished);
})
.on('data', function(e){})
.on('end', function(e){
.on('close', function(e){
startServer(finished);
});
});
Expand Down
2 changes: 1 addition & 1 deletion lib/fserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ FServer.start = function(opts) {
}

if (uri === '/kill') {
response.end('');
fServer.close();
evtServer.close();
rm('-rf', PID_FILE);
response.end('');
process.exit(0);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liveview",
"version": "1.0.4",
"version": "1.0.5",
"description": "Titanium Live Realtime App Development",
"main": "index.js",
"private": true,
Expand Down

0 comments on commit 40339b2

Please sign in to comment.