-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
In node, there is a -r
/ --require
flag. When specified, it requires a module for the script being ran. An example would be node --require bco myScript.js
, this would require the bco
module and run myScript.js
with it required. All it really does is make your scripts look more nice.
What would be nice is if -r
/ --require
would work in interactive mode. Such as node --require bco
. Right now this currently doesn't work.
This may be repl's job, but I'm not really sure.
Metadata
Metadata
Assignees
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.