Trigger auto-upload for Generated Files

已回答

Hi there,

I'm using PhpStorm and have enabled "Automatic Upload" feature. The problem is, this doesn't work with files generated by my plugin. Is there a way to force the auto-upload after file creation?

0

Mikhail,

Such changes performed by the plugin may be treated as external changes.

Do you have the Skip external changes option unchecked in the Deployment Options?

Since your question is a bit broad - I can just guess - you may need to synchronize the created files to let IDE know about the changes by the File > Reload All From Disk.

You can achieve that programmatically using one of the synchronization methods from the VirtualFileManager.

0
Avatar
Permanently deleted user

Jakub Chrzanowski do you mind elaborating on this please? im facing a similar issue

0

请先登录再写评论。