Merge pull request #2 from AverageMarcus/improved_dev_workflow
Improved developer workflow 🛠
This commit is contained in:
commit
cd38b782e1
2
app.js
2
app.js
@ -119,6 +119,6 @@ Metalsmith(__dirname)
|
||||
if (err) throw err;
|
||||
|
||||
app.listen(port, function () {
|
||||
console.log(`App listening on port ${port}`);
|
||||
console.log(`App listening at http://localhost:${port}`);
|
||||
});
|
||||
});
|
||||
|
@ -2,7 +2,8 @@
|
||||
"private": true,
|
||||
"main": "app.js",
|
||||
"scripts": {
|
||||
"start": "node app.js"
|
||||
"start": "node app.js",
|
||||
"watch": "nodemon --exec npm start -e \"md,html,scss,js\" -i \"build\""
|
||||
},
|
||||
"dependencies": {
|
||||
"compression": "^1.6.2",
|
||||
@ -23,6 +24,9 @@
|
||||
"moment": "^2.13.0",
|
||||
"striptags": "^2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^1.12.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "8"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user