Share existing tern process among all vim processes?
Closed this issue · 0 comments
andrelevi commented
Hi, I'm using a tmux/vim setup where I have multiple vim processes open at once. Right now each vim instance will create its own tern process (sometimes it creates two, but that's a different issue).
Is there a way I can configure this plugin to hook into an existing tern process if one exists? I can understand why this would typically be problematic for most people.
EDIT
It seems like there is a timeout connecting to an existing tern process (found by .tern-port file), resulting in a new tern process being spawned? Not completely sure, but for now I've manually set the port for my tern process as well as within the plugin script.