Skip to content

Watch mode: Log changed file on debug log level #1443

@Radiergummi

Description

@Radiergummi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions