Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.

Wrong mime type #18

Open
ev00l opened this issue Feb 3, 2014 · 4 comments
Open

Wrong mime type #18

ev00l opened this issue Feb 3, 2014 · 4 comments

Comments

@ev00l
Copy link

ev00l commented Feb 3, 2014

When i enable impatient mode on a html buffer with an associated css file, the browser does not update when i change the css. If i enable impatient mode on the css file, the browser tries to update the html when the css is changed, but it is unable to use the css file, as the mime type is now text instead of css. I am not interested in previewing the css file in the browser, I just want html page to update when the css changes. Is this the intended behavior?

@netguy204
Copy link
Owner

Part of that is intended: I don't want the CSS to impact the live rendered HTML unless you enable impatient-mode on the CSS explicitly.

Not intended: Mime-types causing browser confusion. What browser are you using?

Patches welcome, btw. I'm interested in this but my "real-work" level is pretty high right now so a patch from me could take a while.

@ev00l
Copy link
Author

ev00l commented Feb 3, 2014

I am using google chrome, but firefox gave me the same result.

I am in no way capable of writing a patch en elisp :(

@ev00l
Copy link
Author

ev00l commented Feb 3, 2014

Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://localhost:8080/imp/live/portfolio.html/style.css?1391461154830"

@ev00l
Copy link
Author

ev00l commented Feb 3, 2014

The address is different than the live preview of the css file, which is:
http://localhost:8080/imp/live/style.css/

So i guess it just gives the wrong mime type for some reason. I am in no way an expert in these subjects, so the problem might lie else where.

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

2 participants