evanw / evanw/esbuild

How do I watch and run a build?

Open
#3,687 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Something similar to `tsx watch src/index.ts`, is there an option in esbuild? The `--watch` option will not run the file.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing esbuild's --watch behavior and the comparison with `tsx watch src/index.ts`. Determine whether the requested run-on-change behavior is an existing option or a new feature, and treat support for the described workflow as the completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.