Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Live Preview Suddenly stopped functioning #11628

Open
Yumaterasu opened this issue Aug 26, 2015 · 2 comments
Open

Live Preview Suddenly stopped functioning #11628

Yumaterasu opened this issue Aug 26, 2015 · 2 comments

Comments

@Yumaterasu
Copy link

Earlier last week the live preview for my HTML documents stopped working entirely.

I have read through the troubleshooting guides and the only thing I couldn't attempt is to reload Brackets without extensions as when I attempt this brackets just turns into a white box and sits there. I've also tried reinstalling Brackets, and deleting Bracket's Cache. Also is it strange that the Live Preview never auto-updated except for when I saved the document?
Is it also strange that Brackets has never used my regular installation of Chrome and seemed to use it's own version of Chrome free from my extensions/themes?

Now the only way I can actually refresh the page is to manually go to the browser and refresh the page or change what file is my active file then going back to the one I am trying to edit. I recently upgraded to Windows 10 about 3 weeks ago probably wasn't apparent on upgrade but only more recently stopped working. I will retrieve any further information I can if you guys need it.

Thanks for your time!

EDIT: I did however test opening the whole folder as a project and that seemed to work (it even updated as I type), it's just local singular files that stopped functioning!

@marcelgerber
Copy link
Contributor

Is it also strange that Brackets has never used my regular installation of Chrome and seemed to use it's own version of Chrome free from my extensions/themes?

That's how it's supposed to be. Brackets uses your Chrome installation, but creates a custom profile.

I did however test opening the whole folder as a project and that seemed to work (it even updated as I type), it's just local singular files that stopped functioning!

That's how Live Preview (or Brackets, after all) is meant to be used. You should always open the code you work on as a project so Brackets knows where to look at when using some of the editor features.
For example, Live Preview won't know which file to load when you reference a <link rel="stylesheet" href="/main.css"> unless you have the correct project loaded.

@Yumaterasu
Copy link
Author

That was my understanding of how it was supposed to work, but it always worked for me without me needing to do this until recently. The Live preview always just worked (when I saved the document) which was pretty convenient especially when working with many HTML files in different directories. I never had to open it as a project, it would always refresh the window as soon as I hit CTRL S. Was that deprecated? I don't remember updating Brackets, all I remember is it worked one day and now it wont

For the record all I did before step by step was:
Open a file with Brackets, Start Live Preview. Save Document, Chrome Auto Updates.

I'm just working with standard BootStrap 3 HTML docs, and up until 2 weeks ago my methods worked flawlessly for making my forms

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants
@marcelgerber @Yumaterasu @ficristo and others