realise-labs / gulp-boilerplate

A Gulp powered boilerplate for rapid, consistent website delivery
https://www.realise.com/
1 stars 2 forks source link

Watch refresh isn't showing latest content after changes to data #76

Open davidpanik opened 6 years ago

davidpanik commented 6 years ago

In the recent change to start using gulp-nunjucks, the watch tasks is successfully recompiling after changes to the HTML templates and reloading the browser without issue, however when changes are made to the JSON data, although the compilation appears to work and the browser refreshes, the new HTML content isn't shown. Hitting F5 causes the correct content to be displayed. It's like the refresh it happening slightly too early.