&& in npm run dev

This commit is contained in:
Joe-Dowd 2020-04-04 18:41:18 +01:00
parent c2ba3d0ab3
commit 98d754f605

View file

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "node test.js",
"dev": "nodemon -x \"(npm test || echo test failed) & npm start\"",
"dev": "nodemon -x \"(npm test || echo test failed) && npm start\"",
"start": "node index.js"
},
"author": "Ajay Ramachandran",