JamieMason / JamieMason/astexplorer.app

refactor(rollup): use rollup.watch

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.