frankenphp
frankenphp copied to clipboard
Watch mode: Log changed file on debug log level
Describe you feature request
Is your feature request related to a problem? Please describe.
I'm seeing unexpected restarts of my worker due to changed file in watch mode, but I have no easy way to find out just which files changed. Even if Caddy's debug mode is enabled and the log level is set to DEBUG, frankenphp only logs filesystem change detected.
Describe the solution you'd like
I would like to see the path of file that was detected as changed logged in level DEBUG, making it easier to trace down unexpected file writes.
Describe alternatives you've considered Limiting the watch pattern to individual directories and stepping through them, hoping to reproduce the behaviour.