[英]Azure App Service keeping old files at /home/site/wwwroot/
I'm deploying nodejs application to Azure App Service with visual studio code extension (Deploy to web app).我正在使用 Visual Studio 代码扩展将 nodejs 应用程序部署到 Azure 应用程序服务(部署到 web 应用程序)。 However when I inspect the files section, I found some old file/ files from previous deployment are still exist at /home/site/wwwroot/ folder.
但是,当我检查文件部分时,我发现以前部署的一些旧文件/文件仍然存在于 /home/site/wwwroot/ 文件夹中。
For example first deployment have A.js
, and second deployment I renamed it to B.js
, /home/site/wwwroot/ will endup with A.js
and B.js
.例如,第一个部署有
A.js
,第二个部署我将它重命名为B.js
, /home/site/wwwroot/ 将以A.js
和B.js
。
How can I resolved this issue?我该如何解决这个问题? Any suggestion will be appreciated, thank you!
任何建议将不胜感激,谢谢!
on publish page click on show all settings.在发布页面上单击显示所有设置。
Make sure Remove additional files at destination.确保删除目的地的其他文件。
Before check Remove additional files at destination .在检查Remove additional files at destination之前。 showing old file on wwwroot folder.
在 wwwroot 文件夹中显示旧文件。
After check Remove additional files at destination .选中Remove additional files at destination后。 showing old file on wwwroot folder.
在 wwwroot 文件夹中显示旧文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.