JamieMason / JamieMason/astexplorer.app
refactor(rollup): use rollup.watch
Open
Priority: Low
Status: To Do
Type: Refactor
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Consider using [`rollup.watch`](https://rollupjs.org/guide/en/#rollupwatch) as it could end up simpler than using both [`chokidar`](https://github.com/paulmillr/chokidar) and [`rollup.rollup`](https://rollupjs.org/guide/en/#rolluprollup) as we are now – and `chokidar` could possibly be removed as a dependency.
Contributor guide
Research direction
Start by tracing the current chokidar and rollup.rollup usage in the bundling and hot-reloading flow. Compare that flow with rollup.watch, then confirm whether chokidar can be removed as a dependency and verify that watching and rebuilding still work as before.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rollup, typescript
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100