Skip to content

--watch should print name of changed file that triggers restart #63767

@vassudanagunta

Description

@vassudanagunta

What is the problem this feature will solve?

--watch gives no feedback on which file triggered the restart. This would be simple and useful info.

What is the feature you are proposing to solve the problem?

currently:

Restarting 'src/app.js'
executing app.js
Completed running 'src/app.js'. Waiting for file changes before restarting...

proposed:

Change detected in 'data/preliminary.csv'
Restarting 'src/app.js'
executing app.js
Completed running 'src/app.js'. Waiting for file changes before restarting...

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions