我有一个导入具有承诺的模块的应用程序。
使用“node app.js”
启动它时工作正常然而,当我启动“nodemon”时,它会不断创建文件.node-xmlhttprequest-sync-1516(最后的随机数字)
以前有人遇到过这个问题吗?在Google上找不到任何答案...非常感谢!
nodemon
[nodemon] 1.17.3
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:38.409
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:0.615
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:0.661
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:0.593
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:0.59
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:0.603
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
app running on port 3100
app running on port 8080
secs:0.597
[nodemon] restarting due to changes...
[nodemon] starting `node app.js`
^CTerminate batch job (Y/N)? y