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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -