-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Live preview error when editing code #5687
Comments
To @ingorichter to see if we can reproduce. @mkbaldwin - can you say a little more about when you get this error? Is it right after hitting the live preview button, or does it happen in the middle of the live preview session after you've already successfully seen the page in the browser? |
Sure, I have an HTML file that I am editing (it's only about 500 lines so nothing massive). I can start a live preview session and things seem to work fine initially. I can edit my code and see the changes update. Then after a few minutes of editing I will get the previously mentioned error. I haven't been able to figure out any specific thing I might be doing that causes it to happen more frequently. Obviously it isn't happening for everyone otherwise I'm sure you would have a lot more complaints of it. Let me know if you need more details or assistance reproducing it. |
I get this error message sometimes, too. But for me it appears just 5 or 10 seconds after starting live preview. I can't figure out a rule for that, too, but when I close the old Chrome window and open a new one, it works fine (everytime). UPDATE: opened #7097 to track this issue |
I'm also having this issue. It never loads. |
Nominating for sprint 35 to try to track down what's going on. |
@mkbaldwin Have you tried Sprint 34? |
I have the same issue since various versions ago, it never worked anymore, I don't remember exactly when started the issue, but with very early versions worked fine. |
@arielfmdp do you have Windows 7 Pro? Do you still see this with Brackets Sprint 34? |
Hi @ingorichter, I have windows 7 and the last Brackets sprint, but you know what ? I found the problem ! I just found THE problem! |
@mkbaldwin @SAplayer I created a very reliable way of reproducing the error (at least on my machine). The question for me is, if my error has the same root cause than yours. |
@ingorichter there's a related bug about live preview on a file outside the current project #5975. There's no error message though, so maybe it's not the same? |
@jasonsanjose yes, that sounds different from what #5975 says. Then this might be another issue that I found. I'd like to hear back from @mkbaldwin and @SAplayer what their setup looks like (in project file) and what the contents of the file looked like. |
@ingorichter I didn't add them to the project, they were already in the folder. |
@jasonsanjose I still have this error in sprint 34. @ingorichter These are files that are all under 20k in size and they are ones that are in the folder that I have open within Brackets. |
Team decided to move this out to Sprint 36 in order to unblock Sprint 35 |
I sometimes get this as well, although usually in conjunction with starting/stopping live development fairly quickly or reloading Brackets. I'm not sure if I've seen it at other times. |
@peterflynn Not enough time this sprint, moving out to next sprint. |
I assume this is not for Sprint 36 any more? |
@mkbaldwin is it possible for you to share the files that you are referring to? That could help to reproduce the issue. Thanks. |
not a solution but a quick fix: |
I get this too sometimes. The console says:
UPDATE: This is being tracked by #7098 |
@ingorichter : I am also facing the same error with live preview. It kicked off as soon as I inserted my Google Analytics JS. Before that everything was running smooth, but the insertion made me pay dearly. Now the live development preview error is coupled with a remote debugger error for chrome where the browser fails to load and reload. Suggestions/Fix Plz... UPDATE: this is being tracked by #7099 |
@ingorichter Pull request #6889 fixes the |
Also reported by syodash on Twitter. |
This showed up a lot with the MissionBit students. The symptom I think I saw was:
It gets worse if you try to connect again between steps 3 and 4 - you end up getting the timeout dialog multiple times. #6889 should help with that aspect of it, but it's not clear why they were getting the immediate failure in step 2. |
See also #6638. |
@painperdu you may be seeing #6830 |
I have Windows 7, I have 2 versions of Chrome, the public Chrome 33.0.1750.117 and Chrome Canary 35.0.1867.2. |
@sapeish No, Brackets should open stable Chrome. Could you open a separate bug about Brackets opening Canary? Please include the full paths to the executables for all versions all Chrome you have installed. |
The problem about Brackets opening Canary is already filed multiple times. |
Are you still seeing the problem of Live Preview stop updating after editing your page? Have you tried any later builds? If so, have you narrowed down the issue any? I opened a page in Live Preview and tried all kinds of edits, but I have not been able to reproduce the problem. Can you tell me more about the types of editing that you are doing to reproduce the problem? Editing text only? Adding/removing HTML tags? By hand, with code hints, or any other edit command? Editing styles, JS, or something else? Are you using any extensions? Be sure to try with all extensions disabled. |
@mkbaldwin I discovered a case where Live HTML was not highlighting and opened #7126. Could that be what you are seeing? |
Many of the issues described in (and linked from) this issue were fixed. As for the original issue, I'm hoping user was running into case described in #7126 , but I'm not sure. Removing Sprint 37 Milestone and keeping open. |
Sorry, I've not been doing much frontend dev the last few weeks so I On Tue, Mar 11, 2014 at 12:01 AM, Randy Edmunds [email protected]:
Howard Yeend BA MSc | solidRed.co.uk | @user24 |
@user24 We fixed some bugs in Sprint 37 (which will be out in a few days) so give that build a try. |
I had a problem, but it might have been my fault. I loaded the live preview URL in firefox at the same time. Could that be causing this? Dev tools says:
and now brackets doesn't have the lightning icon lit up and Chrome has stopped reflecting changes either instantly or on save. Am on Sprint 37. I can't promise that I hadn't also loaded the URL in firefox when I saw the previously reported errors too (sorry). |
@user24 Brackets adds some instrumentation to the page, so what happens in other browsers is not predictable. Don't do that :) |
The live preview seems to be working now on Sprint 37 for me (still opens Chrome Canary though) |
@redmunds I had not noticed any issues with the highlighting in the live HTML, only the Live Preview Error. I haven't been doing as much lately that had me working in Brackets, but I have been using Sprint 37 some today and have not encountered any problems with live preview. Not completely certain if it is fixed or just hasn't happened yet. Though normally it happened frequently when I was working. |
@mkbaldwin Thanks for the update. I will close this. Let us know if you see any more problems |
@redmunds Thanks for looking into this, and keep up the great work! :) |
@mkbaldwin If you open your file from file > Open Folder (ctril + alt + O) it won't display the Live Preview Error. |
While editing an HTML file I am repeatedly getting the "Live Preview Error: Unable to load Live Development page" as I try to work on code. I am running Brackets Sprint 32, and Chrome 30.0.1599.101 on Windows 7 Pro.
The live preview will work sometimes, but sometimes the connection to Chrome seems to break and I start getting that error.
The text was updated successfully, but these errors were encountered: