tapio / live-server

A simple development http server with live reload capability.
http://tapiov.net/live-server/
4.43k stars 484 forks source link

see the live page with another device on the same network #352

Open misterybodon opened 4 years ago

misterybodon commented 4 years ago

When starting live server the ip is a loop back, it's not an address I can access using another device on the same network.

Is there any way to achieve this?

chaitanyak59 commented 3 years ago

Hey @misterybodon You can achieve this (I have observed an issue with code, but you can make it work -Kindaa Hacky)

Assuming that you're running live-server with a json config or a .js file (see README)

samestep commented 2 months ago

@chaitanyak59 this is perfect, thank you! For anyone else who finds this thread, you can achieve the same thing with the CLI via the --verbose flag:

live-server --verbose