Closed abingham closed 6 years ago
We can probably create a central "poll for these task-ids" task in traad.el. This will periodically check the task states for the specified tasks and perform some function when they do complete. This may necessitate a means to query multiple states at a time.
Another way, which would be 24.4 specific is to watch certain files with filenotify
.
Or you can just enable auto-revert-mode
.
It would be nice to have a way to automatically revert buffers which are changed by various refactorings. Since we do most work asynchronously, this means we'll need to poll the server to check task states. Successful refactorings should include a "changed_resources" key, so we can query this and - for successful refactorings - revert the changed buffers.