Trigger auto-upload for Generated Files
Answered
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?
Please sign in to leave a comment.
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.
Jakub Chrzanowski do you mind elaborating on this please? im facing a similar issue