Skip to content

Fix process watch.paths not triggering restarts#2715

Merged
domenkozar merged 3 commits intomainfrom
fix/process-watch-paths-tasks
Apr 8, 2026
Merged

Fix process watch.paths not triggering restarts#2715
domenkozar merged 3 commits intomainfrom
fix/process-watch-paths-tasks

Conversation

@domenkozar
Copy link
Copy Markdown
Member

Watch paths were serialized as Nix store paths instead of source directory paths because the actual code path (tasks in processes.nix) lacked the toString conversion. The previous fix on nativeConfigJson targeted dead code that was never read by the Rust process manager.

Also remove the unused nativeConfigJson option and processConfig plumbing from native.nix.

Fixes #2657

Watch paths were serialized as Nix store paths instead of source
directory paths because the actual code path (tasks in processes.nix)
lacked the toString conversion. The previous fix on nativeConfigJson
targeted dead code that was never read by the Rust process manager.

Also remove the unused nativeConfigJson option and processConfig
plumbing from native.nix.

Fixes #2657

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2026

🔍 Suggested Reviewers

Based on git blame analysis of the changed lines, the following contributors have significant experience with the modified code:

Please consider reviewing this PR as you have authored significant portions of the code being modified. Your expertise would be valuable! 🙏

This comment was automatically generated by git-blame-auto-reviewer

Last updated: 2026-04-08T09:08:46.452Z

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 8, 2026

Deploying devenv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 637c7bb
Status: ✅  Deploy successful!
Preview URL: https://b7f473b4.devenv.pages.dev
Branch Preview URL: https://fix-process-watch-paths-task.devenv.pages.dev

View logs

@domenkozar domenkozar merged commit 3ce9320 into main Apr 8, 2026
8 checks passed
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.

devenv processes not restarting on file change

1 participant