Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching Live Preview just after Brackets start uses file:/// protocol #12778

Open
core-ai-bot opened this issue Aug 31, 2021 · 3 comments
Open

Comments

@core-ai-bot
Copy link
Member

Issue by MarcelGerber
Wednesday Aug 13, 2014 at 22:02 GMT
Originally opened as adobe/brackets#8755


  1. Start Brackets, open "Getting started" Project, and restart Brackets (you may restart it without extension as well)
  2. Quickly launch Live Preview and wait for the window to load
  3. Open Brackets' DevTools (F12) then

Result:
The browser window uses the file:/// protocol. Therefore, pushing changes won't work. There is at least one error logged in the console.
Expected:
The Live Preview should use the Live Preview server.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Wednesday Aug 13, 2014 at 22:28 GMT


@MarcelGerber How quickly do you have to do step 2? It sounds like the nodejs server has not yet started because the fall-back is to open page with file:// protocol.

@core-ai-bot
Copy link
Member Author

Comment by MarcelGerber
Wednesday Aug 13, 2014 at 22:46 GMT


Guess it's 5 to 15 seconds. But even if the node server isn't started yet, we can still do something better (like a longer waiting time).
And btw, this issue causes a console.error that we can probably avoid.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Wednesday Aug 13, 2014 at 23:30 GMT


I am not sure if we can tell the difference between "nodejs server is still initializing" and "nodejs server is down" cases. We might just need to document this in Troubleshooting page.

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

No branches or pull requests

1 participant