support nodemon and avoid the need to create folders for logs and pid for default setup