elicwhite / ESLint-Formatter

Sublime Text 3 Plugin to Autoformat with Eslint
MIT License
140 stars 20 forks source link

`eslint_d` instance per Sublime Window causing performance issues #89

Closed IPWright83 closed 2 years ago

IPWright83 commented 2 years ago

I'm not 100% sure whether this issue lies with eslint_d or this extension, so I'm logging it both - https://github.com/mantoni/eslint_d.js/issues/202.

What I've noticed is that I keep getting frequent slow-downs to the point where Sublime thinks it's frozen. This seems to happen when you snap a tab off into a new window, which causes another eslint_d process to spawn. When it runs in the snapped off window everything is fine, but returning to the old window, it seems to be using a new instance that doesn't have anything cached yet?

eslint_d

Is there a way to share the same eslint_d instance, or determine why this is so slow?