Step 3 - Use ide.files.change for live preview
- POC
- Step 1 - Update IDE to track mimeType
- Step 2 - Use arraybuffer for binary files in Web IDE
- Step 3 - Use ide.files.change for live preview
- Step 4 - Use gitlab-smooshpack behind feature flag
What does this MR do?
As part of the larger Live Preview work, it was observed that the clientside preview was refreshing way too much. It turns out we were watching on any change to any of the file objects in our Vuex state.
Thankfully, the Web Terminal work opened up the ability for us to be notified when a file has actually changed through the ide.files.change
event.
Screenshots (strongly suggested)
Does this MR meet the acceptance criteria?
Conformity
Edited by Paul Slaughter