iamcco/diagnostic-languageserver

[Question]: Exit Linter Daemon on Buffer Close

Open

#75 ouverte le 15 oct. 2021

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)TypeScript (30 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (437 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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!

Guide contributeur