Skip to content

Conversation

@daedlock
Copy link
Contributor

Two issues:

  1. Event filtering too strict for Linux - inotify reports Data(Any) instead of Data(Content), and
    atomic file replacements (how cargo build works) emit Name(To)/Name(Both) events. Added these
    patterns to the match.
  2. Watch thread dying silently - Runbook execution was panicking, killing the watch thread.
    Wrapped in catch_unwind to keep the thread alive.

Fixes #362

Copy link
Member

@MicaiahReid MicaiahReid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @daedlock!!

Copy link
Member

@lgalabru lgalabru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome,thanks 🦾

@lgalabru lgalabru merged commit bd8eacf into txtx:main Nov 26, 2025
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.

Ensure --watch flag is working on linux

3 participants