Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. gulp.watch('watch', function() {
  2. watch('./app/index.html', function() {
  3. gulp.start('html');
  4. });
  5. });
  6.  
  7. var gulp = require("gulp"),
  8. watch = require('gulp-watch');
  9.  
  10. gulp.task('default', function(done){
  11. console.log("You created the default task");
  12. done();``
  13. });
  14.  
  15. gulp.task('html', function(done){
  16. console.log('modifying the html');
  17. done();
  18. });
  19.  
  20. gulp.watch('watch', function() {
  21. watch('./app/index.html', function() {
  22. gulp.start('html');
  23. });
  24. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement