Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-r / --require should work in interactive. #2892

Closed
jamen opened this issue Sep 15, 2015 · 2 comments
Closed

-r / --require should work in interactive. #2892

jamen opened this issue Sep 15, 2015 · 2 comments
Labels
repl Issues and PRs related to the REPL subsystem.

Comments

@jamen
Copy link
Contributor

jamen commented Sep 15, 2015

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.

@mscdex mscdex added repl Issues and PRs related to the REPL subsystem. feature request Issues that request new features to be added to Node.js. labels Sep 15, 2015
@Fishrock123
Copy link
Contributor

I think #2253 might fix this?

@Fishrock123 Fishrock123 removed the feature request Issues that request new features to be added to Node.js. label Sep 16, 2015
@jamen
Copy link
Contributor Author

jamen commented Sep 21, 2015

Closing as duplicate of #2253

@jamen jamen closed this as completed Sep 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl Issues and PRs related to the REPL subsystem.
Projects
None yet
Development

No branches or pull requests

3 participants