--watch-preserve-output


当监视模式重新启动进程时禁用控制台的清除。

¥Disable the clearing of the console when watch mode restarts the process.

node --watch --watch-preserve-output test.js