Open aramean opened 3 years ago
+1 to addressing this issue.
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.
.env and other files starting with dots cannot be retrieved.