Go Live button does not appear if an HTML file hasn't been opened in the editor
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
[x ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->
Current behavior
The button to start the server only appears in the bottom-right of VSCode after the user has opened a HTML file in the editor. For example, if you are working on a SPA, the button not appearing while the user is editing a Javascript or Typescript file is annoying.
I noticed and confirmed in the FAQ that you can open the server with the alt+l -> alt+o chord, but some of the members on my team prefer the UI button.
After opening an HTML file once, the Go Live button appears in the bottom as it should.
Expected behavior
If there are live server settings in the Vscode settings file, the button should be displayed regardless of what file is currently being edited.
It used to be this way.
Environment
Browser:
- [ x] Chrome (desktop) version XX
For Tooling issues:
- Live Server: v5.7.4
- Platform: Windows
- Visual Studio Code: 1.63.2
Others
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
"Go Live" is no displayed. · Issue #160 · ritwickdey/vscode-live ...
I do not know the reason why the "Go Live" button is not displayed. It is displayed automatically while editing HTML files, right?...
Read more >Live Server is Working but button is not showing on vscode?
Right click on the status bar at the bottom and make sure the Live Server (Extension) is selected. That will hide/unhide the 'Go...
Read more >Chat widget not appearing on website pages
When you set up a live chat or bot, you might find that the chat widget isn't appearing on your website pages as...
Read more >WordPress Changes Not Showing? Here's How to Fix ... - Kinsta
Let's get started! Table of Contents. How Long Does It Take for WordPress to Update Changes? Why Is My WordPress Site Not Updating ......
Read more >My changes do not appear online, what can I do? - Elementor
Note: The first thing you should try is to open your website in Incognito Mode and see if your changes appear. If they...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. Adding typescript as an activation event would be appreciated, but would it be possible to make this configurable in some way?
Is there anything that we can do to make this button appear all the time, without waiting for an update?
I actually do not use VsCode myself, I am speaking on behalf of some of my teammates.
【Update】I was able to achieve the desired behavior by adding in “onLanguage:typescript” to the activationEvents section of the on-disk package.json file
It’s fixed in last version