Skip to content

Commit

Permalink
refreshes server after import
Browse files Browse the repository at this point in the history
  • Loading branch information
hexparrot committed Feb 20, 2016
1 parent a8414ad commit 1a33016
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,10 @@ server.backend = function(base_dir, socket_emitter) {
async.apply(instance.verify, '!exists'),
async.apply(instance.create_from_archive, OWNER_CREDS, filepath)
], function(err, results) {
if (!err)
if (!err) {
logging.info('[{0}] Server created in filesystem.'.format(args.new_server_name));
else
setTimeout(function(){ self.front_end.emit('track_server', args.new_server_name) }, 1000);
} else
logging.error(err);
})
break;
Expand Down

0 comments on commit 1a33016

Please sign in to comment.