Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

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

Open
Rinyuu opened this issue May 14, 2021 · 0 comments
Open

Comments

@Rinyuu
Copy link

Rinyuu commented May 14, 2021

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 959fed1)
build timestamp: Thu Nov 28 2019 01:05:51 GMT-0800

Windows OS build: 19042.928

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

No branches or pull requests

1 participant