cult

monitors gulpfile changes and reloads gulp

Usage no npm install needed!

<script type="module">
  import cult from 'https://cdn.skypack.dev/cult';
</script>

README

cult

cult monitors gulpfile changes and reloads gulp

Install

$ npm install -g cult

Usage

$ cult <task> <othertask>
# will call gulp <task> <othertask>

Multiple files support

If your gulpfile is split across multiple files, use node-touch and add something similar to this to your watch task to reload on any gulpfile changes:

gulp.watch(['gulp/**'], function() { touch.sync('gulpfile.coffee') })

History

  • 2.x.x Since gulp 3.7, there's no need anymore to add --require, cult now will symply monitor gulpfile (until this feature is added to gulp :)
  • 1.x.x Monitors gulpfile changes and adds --require depending on gulpfile extension

License

MIT - Typicode