deps: Installed nodemon for more developer happyness

This commit is contained in:
corner 2020-01-26 13:38:58 +01:00
parent 63b58a8242
commit b158635811
3 changed files with 853 additions and 5 deletions

846
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,9 +8,11 @@
"mustache-express": "^1.3.0", "mustache-express": "^1.3.0",
"mysql": "^2.18.1" "mysql": "^2.18.1"
}, },
"devDependencies": {}, "devDependencies": {
"nodemon": "^2.0.2"
},
"scripts": { "scripts": {
"start": "node ./src/index.js" "start": "nodemon ./src/index.js"
}, },
"author": "McArn", "author": "McArn",
"license": "ISC" "license": "ISC"

View File

@ -2,7 +2,7 @@ const express = require('express');
const app = express(); const app = express();
const port = 2428; const port = 2428;
const server = app.listen(port, () => console.log(`Gymrooster running on port ${port}`)); const server = app.listen(port, () => console.log(`Gymrooster running on port ${port}\nVisit it at http://localhost:${port}`));
var path = require('path'); var path = require('path');
var mustacheExpress = require('mustache-express'); var mustacheExpress = require('mustache-express');