sfcc-studio
sfcc-studio copied to clipboard
Files are not synced when changed through separate process
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
@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?
Nevermind it still doesn't work when it's a subprocess
will this issue be tackled? this makes this plugin almost unusable :(
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.
Experiencing this issue with webpack