abort startup process if another server is already running
This commit is contained in:
parent
490ec226a5
commit
9596ed6a8f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue