Closed AnonymousM21 closed 9 months ago
Sorry this issue fell through the cracks. If you want to disable the last opened behavior you can do so with --ignore-last-opened
.
Sorry this issue fell through the cracks. If you want to disable the last opened behavior you can do so with
--ignore-last-opened
.
Thanks, It works now fine by adding the flag --ignore-last-opened
as code-server --auth none --ignore-last-opened ./style50/
.
Thanks again for help! Keep it up! :)
Is there an existing issue for this?
OS/Web Information
uname --operating-system
: GNU/Linuxproot
uname --machine --processor
: armv8l armv8lcode-server --version
: 4.17.1 and below versionsSteps to Reproduce
code-server --auth none ./style50/
Expected
The folder to be opened that is specified on running the command (Folder
./style50
).On the Browser Address Bar, the adress should be: http://localhost:8080/?folder=/root/style50
Actual
Opens the most recent used/closed folder instead of specified directory
style50
.On the browser Address Bar, the adress opens http://localhost:8080/?folder=/root/cs50-learn/week_01 instead of http://localhost:8080/?folder=/root/style50
Logs
No response
Screenshot/Video
Here is the screenshot of command that I ran:
Here is the output that opens the most recent opened/closed folder instead of the specified directory
style50
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
Thank you for help, Melaku