surjithctly / neat-starter

Starter Template for Netlify CMS, Eleventy, Alpine JS & Tailwind CSS
https://neat-starter.netlify.app/
MIT License
333 stars 105 forks source link

Local development: CSS changes disappear when updating non-css files #28

Open edbrannin opened 1 year ago

edbrannin commented 1 year ago

Duplicate of already-closed-without-comment #23

Steps to reproduce:

  1. Make some obvious changes to tailwind.css
  2. Run npm start
  3. Save index.md
  4. Add a blank line to the end of tailwind.css and save

Expected result:

My changes to tailwind.css are always active

Observed result:

My changes stop working after step 2, but work again after step 3.

Notes

Touching the CSS every time I update any other page on the site is... not the most pleasant workflow. :)

I've noticed the Chrome inspector says the CSS file is styles.css when I've touched any non-CSS content, and style.css?browsersync=timestamp when I've touched the CSS.

kjellherzke commented 1 month ago

Same, here!