sfcc-studio icon indicating copy to clipboard operation
sfcc-studio copied to clipboard

Files are not synced when changed through separate process

Open nek4life opened this issue 6 years ago • 5 comments

Files modified by a build system such as gulp or webpack are not picked up by the BulkFileListener until you switch away from the IDE to another application and back. This seems to be a limitation of the IDE for performance reasons.

I currently have a request into the plugin forum to see if there are any workarounds for this.

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003028820-BulkFileListener-behavior-with-out-of-process-files

nek4life avatar Feb 12 '19 13:02 nek4life

@z1haze I noticed that when I run a process through a run configuration within the IDE instead of in a separate terminal window like iTerm the files sync correctly. Could you give that a try?

nek4life avatar Feb 14 '19 14:02 nek4life

Nevermind it still doesn't work when it's a subprocess

nek4life avatar Feb 14 '19 18:02 nek4life

will this issue be tackled? this makes this plugin almost unusable :(

nextor2k avatar Jun 17 '19 09:06 nextor2k

Hey @nestorneto I've looked into it a bit with feedback from the forum. I'm a bit unsure how to proceed here. It looks like there is a method to call and refresh the file system, but I'm currently unsure of the best way to call this method without calling it too many times and slowing things down.

What I currently do is use a gulp plugin that my team developed to upload the files as they are changed by gulp so for myself and my team this is a non issue.

I'm also always looking for contributions if you'd like to dig into it to see if you can figure it out. I have some info for getting started on the Wiki.

nek4life avatar Jun 21 '19 00:06 nek4life

Experiencing this issue with webpack

joeldavuk avatar Oct 03 '19 09:10 joeldavuk