I have a package.json file looks like this.
"scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "node src/app.js",
    "dev": "nodemon src/app.js -e js,hbs ",
    "scss": "sass --watch public/scss:public/css",
    "both": "nodemon src/app.js -e js,hbs && sass --watch public/scss:public/css",
    "both2" : "npm run dev && npm run scss"
  },
I wonder why I cannot run these 2 commands:
"both": "nodemon src/app.js -e js,hbs && sass --watch public/scss:public/css"
by
npm run both
When I try to run it, only the first command is working.
Github repository is below, just in case you need some testing.
 
     
    