lazymozek / gulp-with-tailwindcss

Gulp with TailwindCSS Starter Kit
https://gulp-with-tailwindcss.com
MIT License
256 stars 70 forks source link

Browsersync doesn't work sometimes #2

Closed raunakhajela closed 5 years ago

raunakhajela commented 5 years ago

When I add tw classes it doesn't update the webpage although the page reloads, I have to type npm run dev command, again and again, to make it work.

manjumjn commented 5 years ago

Yes, I reproduced and checked the issue. It was just updating HTML files on gulp watch since we used PurgeCSS to remove unused CSS classes from style.css when HTML files are modified the stylesheet were not regenerated to include new classes. Fixed it now. Here is the commit link