Skip to content

HiDeoo/astro-6-dev-server-css-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astro-6-dev-server-css-repro

Steps to reproduce

  1. Clone this repository
  2. Run pnpm install
  3. Run pnpm dev
  4. Visit http://localhost:4321/content
    • A debugger on the page shows that the CSS include background-color:rgb(255,150,0); for the paragraph with the orange background as expected.
  5. Click the Visit the test page link
    • The same debugger on the page shows that the CSS still include background-color:rgb(255,150,0); even though the test page does not include the component that uses that CSS.
  6. Close that browser tab and kill the dev server.
  7. Run pnpm dev again.
  8. Visit http://localhost:4321/test first.
    • The debugger on the page shows that the CSS does not include background-color:rgb(255,150,0); as expected.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors