这可能真的是菜鸟。我想知道是否有一种方法可以配置 nodemon 来刷新同一选项卡,而不是每次在 js 文件中进行更改时打开一个新选项卡。
这很简单。 要运行您的服务器,请使用npm start代替nodemon server
npm start
nodemon server