Adding support for nodemon's --legacy-watch flag.