ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.65k stars 1.22k forks source link

Cannot GET "Dot files" #1963

Open aramean opened 3 years ago

aramean commented 3 years ago

.env and other files starting with dots cannot be retrieved.

palemieux commented 1 year ago

+1 to addressing this issue.

kwasmich commented 1 year ago

Funny, you can GET files within a folder starting with a dot. Hence the ignoreFiles pointing to .vscode in the FAQs: https://github.com/ritwickdey/vscode-live-server/blob/master/docs/faqs.md So there is no technical reason not to serve files like .env. Hidden files and folders can definitively be accessed by Live Server.