使phpStorm与原始文件一起上传生成的文件 [英] Make phpStorm upload generated files together with original ones

查看:118
本文介绍了使phpStorm与原始文件一起上传生成的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些生成新文件的构建和编译任务,例如

I have some build and compile tasks that generate new files, e.g.

现在,我需要将那些文件上传到我的服务器上.我总是上传原始文件,而忘了编译后的文件,因为它们最初不可见,但在这种情况下隐藏在es6文件后面.

Now I need to upload those files to my server. I always upload the original file and forget about the compiled ones, as they aren't visible originally, but hidden behind the es6 file in this case.

有什么方法可以使phpStorm每当我上传原始文件时自动上传已编译的文件吗?

Is there any way to make phpStorm auto upload the compiled files whenever I upload the original?

推荐答案

Settings/Build, Execution, Deployment/Deployment/Options中有'Upload external changes'选项,允许更新由外部进程生成的文件.

there is 'Upload external changes' option in Settings/Build, Execution, Deployment/Deployment/Options that allows updating files generated by external processes.

这篇关于使phpStorm与原始文件一起上传生成的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆