Implement file watching functionality in filesystem and directory picker#497
Conversation
…rove subscription logic
Matthbo
left a comment
There was a problem hiding this comment.
Lots of undefined's where null's should be used
Making a poller for file changes from the frontend to the backend doesn't seem optimal, websockets or an equivalent should be used to push file changes to the client instead
@Matthbo The current implementation uses SSE (EventSource + Spring's SseEmitter), which is a server push mechanism. The server pushes file change events to the client. It's not polling. |
Gotcha, seems like I misinterpreted |
Matthbo
left a comment
There was a problem hiding this comment.
Also notice the sonar warnings
Signed-off-by: Stijn Potters <stijn.potters1@gmail.com>
… improve error handling in file deletion
Signed-off-by: Stijn Potters <stijn.potters1@gmail.com>
|



Before adding a file in the original file explorer


After adding file in the file explorer its immediately added, even though the directory picker stayed open
Also in the editor and studio file tree
