Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@htr3n
Last active July 22, 2018 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save htr3n/cbfb959546392ef5e948c86c0c05af9d to your computer and use it in GitHub Desktop.
Save htr3n/cbfb959546392ef5e948c86c0c05af9d to your computer and use it in GitHub Desktop.
NPM scripts for running concurrently
{
"scripts": {
"scss-build": "gulp scss",
"scss-watch": "gulp watch",
"hugo-watch": "hugo server -w --buildDrafts --cleanDestinationDir",
"dev": "npm-run-all --parallel scss-watch hugo-watch"
},
"devDependencies": {
"autoprefixer": "^9.0.0",
"cssnano": "^4.0.3",
"gulp": "^4.0.0",
"gulp-postcss": "^7.0.1",
"gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^2.6.4",
"npm-run-all": "^4.1.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment