Adding an entrypoint while in dev should have it picked up (HMR)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
Feature Request
Running dev mode, adding an entrypoint should automatically discover and bundle it, also removing an entrypoint file should not error out rollup, it's to be considered that the file removal was intentional.
This is something that Plasmo does innately and I believe this should also be added to the compare page for plasmo until the feature is implemented :)
Is your feature request related to a bug?
"N/A"
What are the alternatives?
Alternative is manually stopping and re-running dev every single time a new entrypoint is added/moved/deleted.
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the dev-mode entrypoint discovery and Rollup integration mentioned in the request. Trace how file additions, moves, and removals are watched and bundled, then verify that new entrypoints are picked up without restarting and intentional removals do not produce errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rollup, typescript
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100