Skip to content

Does/should the REPL support --watch? #64135

Description

@vassudanagunta

Version

v26.3.0

Subsystem

REPL

What steps will reproduce the bug?

node --watch

What is the expected behavior? Why is that the expected behavior?

$ node --inspect
node: REPL does not support --watch

There is no script to watch.

What do you see instead?

$ node --watch
Welcome to Node.js v26.3.0.
Type ".help" for more information.
> 
(To exit, press Ctrl+C again or Ctrl+D or type .exit)
> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions