adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

[Live Preview] Shows as connected and behave incorrectly if canceling to relaunch Chrome #6043

Open julieyuan opened 11 years ago

julieyuan commented 11 years ago

Steps:

  1. Install Brackets and launch it.
  2. Close the Welcome to Live Preview dialog if launch it first time.
  3. Click button Cancel on Connecting to Browser dialog, and close the webpage : file:///Applications/Brackets.app/Contents/www/LiveDevelopment/launch.html
  4. Input a tag into the index.html file. like : <ul></ul> and observe the live preview icon on the right sidebar.

Result: The live preview icon turns into pink and tooltip shows " not updating due to syntax error ".

Expected: Live Preview connection should be disconnected after step3, so that there is no error in step4.

ENV: MAC 10.7 and Win8.1 English OS Build: 0.34.0-10729

Notes: This issue reproduces in Sprint31.

Snapshots: Here are snapshots for details: Step3: 11 After step3: 2 Step4: screen shot 2013-11-18 at 10 17 37 pm

njx commented 10 years ago

Reassigning to @dangoor, /cc @busykai - though this is probably a bug in the core Live Development workflow code rather than the browser communication stuff.