iamcco/diagnostic-languageserver

[Question]: Exit Linter Daemon on Buffer Close

Open

#75 aperta il 15 ott 2021

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (30 fork)github user discovery
help wanted

Metriche repository

Star
 (437 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I'm using eslint_d with the configuration below. The issue I'm running into is that once a daemon is started for a particular file/buffer, it is not closed when the buffer is closed. This results in a large number of node processes running continuously on my machine (which I have to pkill on a regular basis).

Is there a good way to trigger the linter to exit when a buffer closes? I'm guessing this is not an issue for other linters as they don't (to my knowledge) run as daemons.

Thanks for any help in advance!

Guida contributor