ply-ct / vscode-ply

API Automated Testing
https://ply-ct.org
MIT License
44 stars 1 forks source link

External file system changes not reflected in Flow and Request editors #109

Open donaldoakes opened 2 years ago

donaldoakes commented 2 years ago

Our custom editors should use a file system watcher to be notified of external changes (such as Git Discard Changes). Currently open editors do not reflect these changes. Need to take care not to respond to changes initiated from within the editor itself, or document text updates from .yaml/.flow files for embedded requests.

donaldoakes commented 2 years ago

Consider changing custom fs to emit file change events to update related editors, instead of current event mechanism. Then fs watcher will just be notified by regular means.