oxc-project / oxc-intellij-plugin

25 stars 2 forks source link

Update to watch configuration files for changes and restart the language server #63

Closed nrayburn-tech closed 1 week ago

nrayburn-tech commented 3 weeks ago
  1. Watch all config files for create, delete, and modify events. (Probably a BulkFileListener)
  2. When any event is triggered for the configuration file, restart the language server. LspServerManager#stopAndRestartIfNeeded

https://plugins.jetbrains.com/docs/intellij/virtual-file.html#how-do-i-get-notified-when-vfs-changes https://plugins.jetbrains.com/docs/intellij/virtual-file-system.html#virtual-file-system-events