abort startup process if another server is already running

This commit is contained in:
Joe Fleming 2015-01-21 11:55:52 -07:00
parent 490ec226a5
commit 9596ed6a8f

View file

@ -23,6 +23,7 @@ module.exports = function (grunt) {
grunt.log.ok('Kibana server already started on port', options.port);
} else {
grunt.log.error('Another server is already running on port', options.port);
process.exit(1);
}
done(res);
}