node.js - Overriding config values in Nodeclipse -
i use command run command line:
node app '--node_config={"redis":{"encryption":{"enabled":false}}}'
this overrides config property stored true false.
in nodeclipse use program argument:
'--node_config={"redis":{"encryption":{"enabled":false}}}'
when run nodeclipse, property not overwritten. see process that's run (ps -ef | grep node):
/usr/bin/node /home/dev/workspace/project/app.js '--node_config={"redis":{"encryption":{"enabled":false}}}'
that looks fine me, property remains true in application. if stop nodeclipse application , copy , paste line above, property set false.
i tried copying node arguments section in nodeclipse got error.
Comments
Post a Comment