Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: watcher - handles associated events. #1379

Merged
merged 5 commits into from
Feb 17, 2025

Conversation

AlliBalliBaba
Copy link
Collaborator

This changes the watcher to also check file patterns of associated events (fixes #1375).

Some editors will just create temporary files and never directly modify the original PHP file.


select {
case <-watchPattern.trigger:
assert.True(t, true)
Copy link
Owner

Choose a reason for hiding this comment

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

This line can be removed, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

True

@dunglas dunglas merged commit 9f5e7a9 into main Feb 17, 2025
52 of 55 checks passed
@dunglas dunglas deleted the fix/watcher-triggers-on-associated-event branch February 17, 2025 22:47
@dunglas
Copy link
Owner

dunglas commented Feb 17, 2025

Thanks!

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.

frankenphp watch directive not working on file changes
3 participants