modified to automatically restart server when server.js is modified