ducksoupdev / gulp-site-generator

A static site generator using Gulp
183 stars 29 forks source link

Adding watch, server, and livereload tasks in default task of gulp. #3

Closed implict closed 9 years ago

implict commented 9 years ago

Hi, I tried to add watch, server, and livereload tasks in default task. However, it does not work well. Could you tell me the way?

ducksoupdev commented 9 years ago

Hi, thanks for prompting me! There is a develop task (run gulp develop) that should watch for changes to the src directory and automatically run the default task. There was an issue with it but that has now been resolved. Run the develop task from your site and it should live reload and build the site whenever changes are detected.