yandeu / five-server

⚡ Development Server with Live Reload Capability. (Maintained Fork of Live Server)
https://www.npmjs.com/package/five-server
Other
162 stars 14 forks source link

Cannot find a place to change host ip address #50

Open Awesomeplayer165 opened 2 years ago

Awesomeplayer165 commented 2 years ago

Discussed in https://github.com/yandeu/five-server/discussions/49

Originally posted by **Awesomeplayer165** February 8, 2022 Thanks for coming out with this product, it seems great, but I am unable to use it for my purposes. In Live Server, you can change the host ip address in the `settings.json` by adding: `"liveServer.settings.host": "${YOUR IP ADDRESS WANTED}"`. I cannot find this option in Five Server, and it keeps opening in the default localhost ip address. Because I have deployed an instance of VSC on the web, is there a way you could add this or point me in the direction of where I can modify the host ip address? Thanks so much.
yandeu commented 2 years ago

There is an option host and useLocalIp. Doesn't this work?
https://github.com/yandeu/five-server/blob/main/src/types.ts

Awesomeplayer165 commented 2 years ago

There is an option host and useLocalIp. Doesn't this work?

https://github.com/yandeu/five-server/blob/main/src/types.ts

Looking from your comments, this does not solve what I am looking for. Also, how would I implement this? In the settings.json? I am trying to change it to an IP address not set a Boolean value.

yandeu commented 2 years ago

Similar to #61