-
Notifications
You must be signed in to change notification settings - Fork 28k
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
code serve-web
fails when offline
#202967
Comments
The most recent version is cached only on memory, and does not persist between restarts. This is something we could add. Code pointer: vscode/cli/src/commands/serve_web.rs Line 537 in 800e60a
|
It seems to me you can obtain the last saved version from lru.json ... or as the name implies, the most recently used, which might be even better. In fact, this is a separate issue, but I would prefer the ability to disable the check altogether if a saved version exists. |
I'll try to submit a PR to fix this |
@weartist Are you still working on this? |
Sorry I didn't continue this anymore, if anyone is interested, you can continue this PR |
Hello 👋, Currently, I'm exploring VSCode to contribute . I might be having difficulty understanding the issue. Link. Here are the steps I've followed:
Can anyone please assist me with this for contributing? |
Hello @connor4312 , I have raised a PR #213233 solving this issue |
This is something I have also faced when trying to use the command in WSL |
Great @RitamM16 🙌, but can you please help me in understand the issue and also check this Link and help me in understand vscode for contributing also for starting vscode from local code I am using
is this correct approach also what if i had changes in my code and needs to restart or re-compiled what command should be used one last doubt I facing huge confusion in understanding which folder contains the relevant code😅 |
😅 Honestly I have also just jumped into this code base. I am also figuring things out myself. |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
code serve-web
once, and play around with itcode serve-web
againWhat should happen:
According to #197747 (comment), it should continue to use the last downloaded version.
What actually happens:
Here's the full command line:
I recognize that this is a duplicate of #197747, but the linked comment above suggests that in fact the behavior documented here should not be happening. The contents of the
serve-web
directory are up to date:The text was updated successfully, but these errors were encountered: