[英]Website deployed on AWS EC2 Using FileZilla isn't showing live changes
My organization is using AWS and I connected to it using FileZilla.我的组织正在使用 AWS,我使用 FileZilla 连接到它。
Server Folder Path:服务器文件夹路径:
Specifically:具体来说:
Build, Node_modules, Public, Src, and other files including Makefile Build、Node_modules、Public、Src 和其他文件,包括 Makefile
On my local computer I used npm install to gather the latest files, then I made some changes and when I finished I ran "Npm run build" and then copied over all folders including the new build folder.在我的本地计算机上,我使用 npm 安装来收集最新文件,然后我进行了一些更改,完成后我运行“Npm run build”,然后复制所有文件夹,包括新的构建文件夹。
I used drag and drop into the filezilla window.我使用拖放到filezilla window。
Now when I check the live website for changes, it still shows the old information even though it's updated on my local build.现在,当我检查实时网站的更改时,它仍然显示旧信息,即使它已在我的本地构建中更新。 I don't understand.
我不明白。
Is there another way to deploy this properly?还有另一种方法可以正确部署它吗? I don't see why I can't drag and drop the source files over.
我不明白为什么我不能拖放源文件。 It's just static changes.
这只是 static 的变化。
Things I tried:我尝试过的事情:
I figured it out.我想到了。 Only took forever.
只花了永远。
The solution was to connect using ssh client and push transfer the files over directly.解决方案是使用 ssh 客户端连接并直接推送传输文件。
I used putty to do this.我用腻子来做到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.