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

LivePreview CSS not updating until making change in CSS file (PHP pages) #14863

Open
core-ai-bot opened this issue Aug 31, 2021 · 0 comments
Open

Comments

@core-ai-bot
Copy link
Member

Issue by Rinyuu
Friday May 14, 2021 at 14:46 GMT
Originally opened as adobe/brackets#15348


I have found people having similar issues, but none of their solutions seemed to work for me.

The problem seems to lie in including external php files.
I have all my head stuff in an external file I include with every PHP page, but the CSS in LivePreview doesn't apply until I make any change to the CSS file. (Deleting any one character and then undo does the trick)
Hard refreshing Chrome (Version 90.0.4430.212 (Official Build) (64-bit)) does not seem to work.

Any way around this?

Reproduce:

  1. On a PHP page, call an external PHP file: <?php include("header.php"); ?>
  2. Add the CSS tags inside header.php : <link href="style.css" rel="stylesheet" type="text/css">
  3. Open LivePreview on the first PHP page, CSS will not update until editing one character in style.css

Brackets: Release 1.14 build 1.14.1-17752 (release-1.14.1 959fed135)
build timestamp: Thu Nov 28 2019 01:05:51 GMT-0800

Windows OS build: 19042.928

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

1 participant