actum / gulp-dev-stack

Actum dev stack based on gulp
MIT License
11 stars 7 forks source link

Swig watch reload before task finished #12

Closed janpanschab closed 8 years ago

janpanschab commented 9 years ago

Sometimes when I save swig template the page is reloaded, but nothing happen. After second safe the changes are reflected. It looks like the reload event is triggered before the swig compilation is finished.

vbulant commented 9 years ago

I was not able to reproduce this.

However, there is another approach to reload manually that could help: .on('end', browserSync.reload) instead of just injecting changed HTML using .pipe.

vbulant commented 8 years ago

After closing https://github.com/actum/gulp-dev-stack/issues/17 it seems that reload after nunjucks compilation works fine.

janpanschab commented 8 years ago

Closing. Nunjucks are OK.