Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edbrannin opened this issue Jun 17, 2023 · 1 comment
Open

Comments

@edbrannin
Copy link

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
Copy link

Same, here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants