title: How can I send a command to a running NodeJS project from the command line?
body: <p>I have a server project which checks it's settings file every 5 minutes to see if there are any changes, then updates variables accordingly. </p>
  
  <p>However, I also want to be able to tell the server to run that function which perform this check from the command line so that I don't have to wait for the changes to take effect. What is the best way of doing this? </p>
  
  <p>I could add a local net socket that listens for commands - but is there a better way that doesn't require me to write a seperate program?</p>