Skip to content

Rewatch: ignore stale lock for unrelated process name#8316

Open
cknitt wants to merge 1 commit intomasterfrom
fix-rewatch-lock
Open

Rewatch: ignore stale lock for unrelated process name#8316
cknitt wants to merge 1 commit intomasterfrom
fix-rewatch-lock

Conversation

@cknitt
Copy link
Copy Markdown
Member

@cknitt cknitt commented Mar 27, 2026

Process ids can be re-used by the OS, therefore it can happen that an unrelated process is using the process id of a previous rewatch process, leading to false positives in the lockfile check.

In such a case, we should ignore the lockfile.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 27, 2026

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript@8316

@rescript/darwin-arm64

npm i https://pkg.pr.new/@rescript/darwin-arm64@8316

@rescript/darwin-x64

npm i https://pkg.pr.new/@rescript/darwin-x64@8316

@rescript/linux-arm64

npm i https://pkg.pr.new/@rescript/linux-arm64@8316

@rescript/linux-x64

npm i https://pkg.pr.new/@rescript/linux-x64@8316

@rescript/runtime

npm i https://pkg.pr.new/@rescript/runtime@8316

@rescript/win32-x64

npm i https://pkg.pr.new/@rescript/win32-x64@8316

commit: 8c5d59e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant