gulpfile.js 747 B

12345678910111213141516171819202122232425
  1. const gulp = require('gulp');
  2. function defaultTask(cb) {
  3. // place code for your default task here
  4. console.log('please run gulp --tasks to see available tasks for Ayyo Wars')
  5. console.log('you can then try running a command like `gulp readme`')
  6. cb();
  7. }
  8. let browser = exports.browser = require('./build/gulp-tasks/browser');
  9. exports.watch = function () {
  10. gulp.watch('./lib/index.js', browser);
  11. gulp.watch('./lib/behaviors/index.js', browser);
  12. gulp.watch('./lib/behaviors/**/*', browser);
  13. gulp.watch('./lib/Geoffrey/*', browser);
  14. gulp.watch('./lib/inputs/*', browser);
  15. gulp.watch('./lib/utils/*', browser);
  16. gulp.watch('./lib/scenes/*', browser);
  17. gulp.watch('./lib/scenes/**/*', browser);
  18. }
  19. exports.default = defaultTask