iamcco/diagnostic-languageserver

[Question]: Exit Linter Daemon on Buffer Close

Open

#75 创建于 2021年10月15日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)TypeScript (30 fork)github user discovery
help wanted

仓库指标

Star
 (437 star)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南