the correct way to use source-model watcher #1460
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @JimCSuen, The idea of the source model watcher module is that the server sends a I just tested this with the workflow example with the Theia integration and the Java server and I do get the dialog as expected when I change the file on the file system using an external editor: What issues are you facing in particular? |
Beta Was this translation helpful? Give feedback.
No worries, getting used to a new framework is never easy, so I'm happy to answer your questions.
I just double-checked and I think that is indeed the source of the problem. It seems that the
SourceModelWatcher
API never made it into the Node server, see #1053. You can still implement it yourself based on the Java implementation or by otherwise detecting changes and sending aSourceModelChangedAction
to the client.