egoist / egoist/tsup

Entry globs don't update with new files

Open
#748 1 comment 11 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

Looks like when a glob pattern is used in the `entry` array, tsup needs to use a file watcher in dev mode to know when a new entry point is added (when a matching file is created).

Contributor guide

Open the contributing guide

Research direction

Trace tsup's dev-mode handling of entry glob patterns and its file-watching behavior. Verify how newly created files matching an entry glob are detected, then confirm that creating such a file causes the entry points to update and the relevant dev build behavior to refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.