iamcco/diagnostic-languageserver

[Question]: Exit Linter Daemon on Buffer Close

Open

#75 opened on 2021年10月15日

GitHub で見る
 (0 comments) (1 reaction) (0 assignees)TypeScript (30 forks)github user discovery
help wanted

Repository metrics

Stars
 (437 stars)
PR merge metrics
 (PR metrics pending)

説明

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!

コントリビューターガイド