commander-gulp-watch

2.0.5 • Public • Published

Commander Gulp Watch Dynamic

Watch dinámicamente

commander: version (tag) gulp: version (tag) MIT License npm: version (tag) node: version (tag

Instalación

$ npm install commander-gulp-watch

Comando a ejecutar

$ commander-gulp-watch w-templates 'entry' --wt 'ouput'
$ commander-gulp-watch w-scss 'entry' --wscss 'ouput'
$ commander-gulp-watch w-stylus 'entry' --wstyl 'ouput'

Configuración por el package.json

"scripts": {
  "watch": "npm run watch-templates watch-sass watch-templates watch-mailing",
  "watch-sass": "commander-gulp-watch w-scss \"frontend/src/static/styles/*.scss\" \"frontend/src/static/styles/**/*.scss\" --wscss  \"docs/styles/\"",
  "watch-stylus": "commander-gulp-watch w-stylus \"frontend/src/static/styles/*.styl\" \"frontend/src/static/styles/**/*.styl\" --wstyl  \"docs/styles/\"",
  "watch-templates": "commander-gulp-watch w-templates \"frontend/src/templates/*.pug\" \"frontend/src/templates/**/*.pug\" --wt  \"docs/\"",
  "watch-mailing": "commander-gulp-watch w-templates \"frontend/src/mail/*.pug\" \"frontend/src/mail/**/*.pug\" --wt  \"docs/\""
  }

Link

https://jugaz.github.io/commander-gulp-watch/

Package Sidebar

Install

npm i commander-gulp-watch

Weekly Downloads

10

Version

2.0.5

License

MIT

Unpacked Size

10.3 kB

Total Files

7

Last publish

Collaborators

  • jugaz