evanw / evanw/esbuild

Option to disable "Delete output files when a build fails in watch mode"

Open
#4,098 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/evanw/esbuild/releases/tag/v0.25.0

I need to stop a build by throwing in onStart. But with v0.25 it messes up the files as it clears the folder. Or is there a better way to stop a build?

I need to stop a rebuild that I trigger by writing a file in the build script. Or is there a way to not trigger rebuild for this?

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by tracing esbuild's watch-mode behavior around failed rebuilds and the clearing of output files described for v0.25.0. Done means providing a way to disable that clearing for this case while preserving the current default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Feature
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.