Add serve-index as connect middleware for @parcel/reporter-dev-server #7575
Unanswered
kai-dorschner-twinsity
asked this question in
Ideas
Replies: 1 comment
-
I am interested in one of these two things:
Whichever is more convenient and inline with the philosophy of the project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use Case
When loading parcel in dev mode with multiple entry points (
parcel serve ./src/*.html --open
) it would be nice to see a directory-listing and choose from there what file you want to see.If there is more people than just me I can possibly produce a draft plugin / PR for the existing dev server.
Vision
It could also be useful to have an API to add any middleware to the dev server, not just this in particular.
Ref: https://www.npmjs.com/package/serve-index
Beta Was this translation helpful? Give feedback.
All reactions