Skip to content

Ability to watch .pnp.cjs or other files that are not required but affect app startup #306

@dobesv

Description

@dobesv

I have noticed that the app is not restarted if I change .pnp.cjs, which is injected by yarn via NODE_OPTIONS.

It would be nice if node-dev was aware of the -r and --require options provided in NODE_OPTIONS and added them to the watchlist automatically on process start or restart.

It could also be handy if we could manually specify some file wildcards to add to the watchlist on each start. In principle if the first idea is not implemented we could workaround it with this second one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions