Skip to content

YAML file passed to -w does not trigger restart when it changes #2216

@rjray

Description

@rjray
  • Versions: [email protected], [email protected]
  • nodemon -v: 3.1.4
  • Operating system/terminal environment (powershell, gitshell, etc): Linux, bash, yarn 1.22.22
  • Using Docker? What image: no
  • Command you ran: nodemon -w src/openapi.yaml -w src src/server.ts

Expected behaviour

A change to the file src/openapi.yaml should cause nodemon to restart the watched process

Actual behaviour

Changes to the YAML file have no effect

Work-around

Passing --ext yaml,ts causes the file to trigger restarts when it changes. However, I expected that an explicitly-specified file would not need to be further enabled by --ext.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions