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

CSS updating not working #6363

Open
hypertraxx opened this issue Jan 4, 2014 · 10 comments
Open

CSS updating not working #6363

hypertraxx opened this issue Jan 4, 2014 · 10 comments

Comments

@hypertraxx
Copy link

Hee,

My HTML pages 'live' update as I hit save, however they do not update live as shown in the video. My css pages update only on manual refresh, sometimes they update 'live'.

Yes,
I'm using a external style sheet.

Console CSS error:
No style sheet with given id found Object {code: -32000, message: "No style sheet with given id found"} /LiveDevelopment/LiveDevelopment.js:480
Console HTML error:
ConsoleAgent: Failed to load resource: the server responded with a status of 404 (Not Found) /LiveDevelopment/Agents/ConsoleAgent.js:52
ConsoleAgent: Uncaught SyntaxError: Unexpected token var

Project tree:
Site folder > css > app.css
Site folder > index.html

Site url:
http://127.0.0.1:61225/site%20folder/index.html

Chrome: Latest
Brackets: Sprint 35
Machine: Intel I7, 12GB Ram, Nvidia 560GTX 2x, Windows 8.0 64bit.

@redmunds
Copy link
Contributor

redmunds commented Jan 4, 2014

@dangoor #5774 is a similar bug (code: -32000) assigned to me that I have not yet dug into. Any ideas on what that code means?

@hypertraxx
Copy link
Author

I'm not quite sure what you mean mate.

@redmunds
Copy link
Contributor

redmunds commented Jan 5, 2014

@hypertraxx It's a question for one of the other devs. No worries :)

@dangoor
Copy link
Contributor

dangoor commented Jan 5, 2014

@redmunds Offhand, I don't know what that means. It sounds like something to do with the way stylesheets are tracked for replacement by the live preview code, but I'm not as familiar with that (I've done most of my live preview work on HTML and JS).

@hypertraxx
Copy link
Author

@redmunds Oo, well if you're one of the developers, great job creating this tool. I really appreciate the concept and it's currently replacing my older web-dev tools.

@ghost ghost assigned redmunds Jan 8, 2014
@redmunds
Copy link
Contributor

redmunds commented Jan 8, 2014

@hypertraxx Do you have a page that reproduces the problem? The files for the other bug I have is very complicated, so if you could post a link of something relatively simple I would greatly appreciate it.

@hypertraxx
Copy link
Author

@redmunds Well it's an offline page and for security reasons it must stay offline--for now. However the live preview didn't work at all today, until I disabled the firewall. So the problem is in the app/firewalls/localserver? Heres a screenshot of the error log I get now with firewall disabled:

ss 2014-01-08 at 08 15 25

Every time I edit something on my html page and save it, it shows the last visible error (404?). I really don't understand what the problem is. Btw this happens with all my websites and even brand new websites. If you'd like, I can make a video about my issue and post it here.

@redmunds
Copy link
Contributor

redmunds commented Jan 8, 2014

This is different from the other bug I referred to. Does your page have any references to external resources that are being blocked by the firewall?

@peterflynn
Copy link
Member

The GET error at top looks like a firewall is Brackets process from connecting to the Chrome remote debugging URL. It's a somewhat similar issue to #6282 if that's the case.

@njx
Copy link
Contributor

njx commented Jan 13, 2014

Marking medium priority. It does seem plausible that it's related to #5774, but we don't have enough info to really dupe it out, I think.

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

No branches or pull requests

6 participants