help
help copied to clipboard
Make functionality to show folder files instead of 'file not found'
Details
The problem: I need to quickly switch between many files while here on my localhost:8080/ 'live service' runned by Edge DevTools that uses node.js as its server, that will show the 'faux browser page' right inside visual studio code.
If you go to the same url using vscode Go Live, you can actually see the folder files normally, like Options +indexes enabled in apache used to have.
Request: Please, add a Directory listing fallback, an option in node.js service to let us do the same as Options +indexes, so we can see the folder files when not calling any specific file, at least for localhost !
Node.js version
last stable.
Example code
No response
Operating system
doesnt matter
Scope
http service
Module and version
Not applicable.
That is a userland feature you can write yourself. I wrote such a thing in a GUI presented in the browser for my personal application. It requires the ability to walk the file system making use of fs.readdir method, packaging the output into a data object of your formulation, and an interactive interface to make use of that data.
Hmm, I was wondering, because the plain Live Server comes with this functionality, I was expecting it to be ported to your code as well somehow :(
There has been no activity on this issue for 11 months. The help repository works best when sustained engagement moves conversation forward. The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment.
Closing after no activity on this issue for 12 months.