Optimize your command

Edit /path/to/project/package.json:

...
"scripts": {
  "dev": "gulp",
  "prod": "gulp --production"
},
...

OR

...
"scripts": {
  "dev": "gulp --silent",
  "prod": "gulp --silent --production"
},
...

gulp --production alias: gulp -p

Then, you can run the command like this:

# For development
$ npm run dev

# For production
$ npm run prod

results matching ""

    No results matching ""