- Version: 4.x.x, 6.x.x, 7.x.x
- Platform: All
- Subsystem:
I am requesting for something that's basically the command line option -r but through an environment variable NODE_REQUIRE. The reason is that the -r option is not persistent. If some other app invokes node, then the -r is not applied. The environment variable NODE_REQUIRE should always be checked when node starts up.
When the env var exist and -r is also specified, I think both should be required.
Thanks.