Skip to content

Instantly share code, notes, and snippets.

@tudorilisoi
Created April 3, 2018 12:12
Show Gist options
  • Save tudorilisoi/1abc61fe64f63712b389ed7c61688796 to your computer and use it in GitHub Desktop.
Save tudorilisoi/1abc61fe64f63712b389ed7c61688796 to your computer and use it in GitHub Desktop.
npm scripts: watch FS and run parallel tasks
"watch": "nodemon -w public_html -e less,js --ignore *.min.js --ignore src/* -x 'grunt'",
"livereload": "source ~/bash_functions && server-kill 35729 && cd public_html && livereloadx --exclude 'node_modules/*'",
"develop": "parallelshell 'npm run watch' 'npm run watch-webpack' 'npm run livereload' ",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment