node-packer
node-packer copied to clipboard
Is there a way to work with the preload feature from dotenv?
There's a feature in dotenv that allows me to use the --require (-r) command line option to preload dotenv configurations in order to make sure the configurations are loaded before launching app.js
, for example:
node -r dotenv/loadenv.js app.js
Is there a way to set the node arguments when running nodec
?
I think you can probably add some hack to node_main.cc
around here to achieve this. In the future let's make this an extra argument to nodec
.