-
Notifications
You must be signed in to change notification settings - Fork 297
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
Wildcard paths not working properly for file watcher #962
Comments
Shouldn't it be |
@crynobone Line 189 in 46a8499
But it should work either way. The The problem is reproducible with the default Octane config - you can test using any other directory in the array which uses |
@crynobone Yeah looks config subdirs are supported, so |
Thank you for reporting this issue! As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub. If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team. Thank you! |
Chokidar removed support for glob in version 4. https://github.com/paulmillr/chokidar?tab=readme-ov-file#changelog |
Octane Version
2.5.9
Laravel Version
11
PHP Version
8.3
What server type are you using?
Swoole
Server Version
8.3
Database Driver & Version
No response
Description
Wildcard paths like
config/**/*.php
in thewatch
array ofconfig/octane.php
aren't working properly.Steps To Reproduce
octane:start --watch
(I'm using Swoole)config
directory. Octane won't restartconfig/**/*.php
toconfig
in thewatch
array ofconfig/octane.php
config
directory. Octane will now correctly restartSame problem with anything else using wildcards eg.
database
(try modifying a seeder to test).The text was updated successfully, but these errors were encountered: