axetroy / axetroy/vscode-static-server

[FER] Possibly an option listening address, other than 0.0.0.0 ?

Open
#135 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/axetroy/vscode-static-server/blob/1448bd3fea729a0e56eb3e53b36ca869cb22f2b3/src/index.ts#L53

Just to make it clear I am really grateful for this extension as an alternative to live server without live reloading, so that I won't need to start a static server manually.

It may not be a very big issue when you are inside a private network that the server listen to 0.0.0.0, but there are occasions that you may want to make it localhost. It would be great if there can be an option for it.

Not a hard one but I also noticed that you may not have time for it. Would like to help with it if you want.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/index.ts at the linked line to inspect how the static server listening address is set. Check how this extension exposes options, then define completion as allowing users to choose localhost instead of 0.0.0.0 and confirming the server uses that selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.