brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] MultiBrowser Live Preview unloads @import-ed stylesheets upon editing #9705

Open core-ai-bot opened 2 years ago

core-ai-bot commented 2 years ago

Issue by MarcelGerber Saturday May 09, 2015 at 15:54 GMT Originally opened as https://github.com/adobe/brackets/issues/11076


  1. Open test/smokes/citrus completed as a project
  2. Open index.html
  3. Start Multi Browser Live Preview
  4. Put your cursor in the <body> tag
  5. Press Cmd/Ctrl-E
  6. Change background-color: #66B034; to background-color: #D90; (that's step 39 of the Smoke Tests)

Result: The stylesheet is no longer applied to the website. image

Note: Due to this issue, step 46 of the Smoke Tests fails, too.

core-ai-bot commented 2 years ago

Comment by MarcelGerber Saturday May 09, 2015 at 15:54 GMT


cc@sebaslv@busykai

Works fine in non-MultiBrowser Live Preview, btw.

core-ai-bot commented 2 years ago

Comment by MarcelGerber Wednesday Jun 03, 2015 at 21:20 GMT


I see now. It's an issue with how the stylesheets are referenced - using @import: https://github.com/adobe/brackets/blob/015400e6d53dcbe3eeacbf901f2c31e863412a13/test/smokes/citrus%20completed/css/citrus_mq.css

Also, the Chrome error message:

http://127.0.0.1:61260/desktop.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:61260/phone.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:61260/tablet.css Failed to load resource: the server responded with a status of 404 (Not Found)