-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Live Preview Suddenly Stopped Working #11653
Comments
Thank you for finding and going through the Troubleshooting page. Many people don't even make it that far before asking for help. Live Preview is a complex feature and many contributors (including myself) have put a lot of time trying to put all of our knowledge in the Troubleshooting page, so please don't dismiss it so quickly. Please list any particular items in the Troubleshooting page that you don't understand and we'll try to help you (and improve the doc). Also, search through Brackets Closed Issues for many discussions on the same topic. Note that you'll may get more responses in brackets-dev forum. |
Thank you for your fast response. Would you like me to list the links that I have gone to and what I did? |
Hi. Perhaps these errors in "Show Developer Tools" will help? Error watching project root: C:/Program Files (x86)/Brackets/samples/root/Getting Started/ Max connection attempts reached/project/ProjectManager.js:751 (anonymous function) |
Start with the items that you thought were "ambiguous".
I'm not sure why you can't watch the root of the Getting Started project. Maybe because you are not an admin? Use File > Open Folder... to select the root folder of one of your own projects and see if Live Preview works there. If you don't have a project handy, try copying the Getting Started folder to somewhere that you have access. |
List of what I have tried:
From https://groups.google.com/forum/#!topic/brackets-dev/fcKT12m1xLU
From #9188
From #9990
Regarding Ambiguity―please keep in mind that I am a newbie. If this troubleshooting doc is written for experienced developers, then there is probably no problem at all.
From https://github.com/adobe/brackets/wiki/Troubleshooting#live-edit I get it. Make a folder, save all files in that folder. Ensure that when I open folder, it is pointed to that folder. But node server??? What does this have to do with keeping the files in the same folder and making sure that Open Folder points to the working folder? Can you give an example or send a hyperlink that gives me a quick understanding of what this means in case my error is due to this 'node server'?
From https://github.com/adobe/brackets/wiki/Troubleshooting#live-edit Project tree vs working set…??? I can understand the project tree (I think). Working set?
From https://github.com/adobe/brackets/wiki/Troubleshooting#live-edit What link? How do I find the link in order to make sure that type does not equal "text/css"? How do I specify a "base URL"? How do I find this information? • Make sure you are not running firewall, network security, or antivirus software that is blocking the connection (try disabling it temporarily to check) Ummm, thanks for the Wikipedia page and no pointer to what info is important there… I guess. Where do I modify the host file? • Try shutting down background apps in Chrome. In Chrome, go to Settings > Advanced Settings and then uncheck the "Continue running background apps when Google Chrome is closed" setting. This was helpful. Why? There were clear directions, unlike the rest of the instructions above. From https://github.com/adobe/brackets/wiki/Troubleshooting#-live-preview-page-not-loading
From https://github.com/adobe/brackets/wiki/Troubleshooting#-live-preview-page-not-loading I spent 25 minutes trying to figure out whether my version of Chrome was beta, dev, or stable (canary). How to switch to another version? I still have no idea. |
Correct. Set base server to blank to use internal node server.
Goal is for doc to be helpful to everyone.
Builtin (internal) server uses node. It can only access files under project root. Using File > Open Folder... sets the project root.
Project tree is displayed on left. Working set is list of files at top of left column. This list of files is analogous to tabs you see across the top of some editors. Note that you can use File > Open... or drag/drop to open a file in Brackets that is outside of current project. This is handy for viewing files outside of your project, but these files do not work in Live Preview.
This is referring to
File > Project Settings... This is same as "base server" you referred to above.
Look at "Location in the file system" section to find location on your OS.
A background app caused a bug in the past. We're not sure of the exact cause, so this is simply suggested as something to "try".
I agree that Google does not make this clear or easy to switch. The only reliable way I have found to do it is to remove all Chrome apps from your system. If you are using Mac, then also Empty Trash because file associations are not removed when something is moved to Trash. Then re-install Chrome stable. |
Still not working but there also seems to be no help provided. I switched to a different PC and set a restore point before downloading Bootstrap in case this problem occurs. It works fine on a different PC. |
It was working fine and suddenly I started getting the attached "Connecting to Browser" errors and Chrome launches 'file:///C:/Program%20Files%20(x86)/Brackets/www/LiveDevelopment/launch.html' that hangs at "Waiting".
I have uninstalled and reinstalled Brackets and every folder related to it.
I have rebooted my PC several times.
The live preview base URL is http://localhost/Getting%Started/.
I am running Brackets Release 1.4 build 1.4.0-16380 (release 273804e).
I am running Chrome Version 44.0.2403.157 m.
I have read the Troubleshooting page and, frankly, it doesn't help me much. The instructions are, at best, ambiguous.
Please help!
The text was updated successfully, but these errors were encountered: