live-server icon indicating copy to clipboard operation
live-server copied to clipboard

i wish support current dir config ./.live-server.json

Open mouday opened this issue 5 years ago • 3 comments

Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting

Issue description

i wish support current dir config ./.live-server.json

Software details

now i find a way to config is ~/.live-server.json

but i wish ./.live-server.json > ~/.live-server.json

i can save config in my project

thank you!

mouday avatar Mar 22 '20 16:03 mouday

Mouday Do you have an example of your .live-server.json file all I have is the following placed inside my project root folder .live-server.json { "port":1366 } however live-server opens with the default port 8080. I do not seem to get live-server to pick up the config file. Regards jim

dominait avatar Aug 28 '20 17:08 dominait

is there a way to make this work? It really makes no sense having the config file in ~/.live-server.json.

antonioaltamura avatar Feb 01 '21 10:02 antonioaltamura

same here global config file is useless, it should be per project

Exlord avatar Apr 17 '21 10:04 Exlord