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

Ability to use the VSCode + Browser extension with anything without serve #3050

Open
ackvf opened this issue Nov 19, 2024 · 0 comments
Open

Comments

@ackvf
Copy link

ackvf commented Nov 19, 2024

I'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: -->

Expected behavior

Hi, forgive me if this is not possible to implement due to limitations, but it would be a nice addition to the extension.

I would like to be able to use any existing watch/build/serve setup that rebuilds the project whenever I save anything and serves it to a browser

And have the browser extension and VSCode extension communicate and reload the webpage for me automatically after saving any file

So that I don't have to manually hit F5 in the browser after each change/rebuild.

The way I envision it is that the extension does not serve any files in this particular scenario, but instead it opens a listening port to which the browser extension connects and whenever VSCode detects a change in a file, the VSCode extension says the connected browser extension to reload the tab it was enabled on. The port the app is served on is either known from the environment, or VSCode extension setting (workspace setting), so that when the browser extension connects, it will immediately know what tab to reload without touching unrelated web pages.

@ackvf ackvf changed the title Ability to use the VSCode + Browser extension with anything Ability to use the VSCode + Browser extension with anything without serve Nov 19, 2024
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