mirror of
https://github.com/Febbweiss/CloudBudget.git
synced 2026-03-04 22:35:38 +00:00
Feature: manage npm stop command
This commit is contained in:
@@ -52,6 +52,8 @@ require('./app/routes')(app);
|
||||
this.app = app;
|
||||
this.server = server;
|
||||
|
||||
process.title = 'CloudBudget';
|
||||
|
||||
exports.listen = function () {
|
||||
if( process.env.NODE_ENV !== 'test' ) {
|
||||
console.log('Server running in ' + process.env.NODE_ENV + ' mode on port ' + this.server.port );
|
||||
|
||||
Reference in New Issue
Block a user