carlitux / deoplete-ternjs

deoplete.nvim source for javascript
MIT License
277 stars 24 forks source link

Delete global .tern-port file before leaving vim. #83

Closed hungrybirder closed 5 years ago

hungrybirder commented 5 years ago

Hi @carlitux I found the tern process writes "~/.tern-port" pid file. I just delete it before leaving vim. Please check it out. Thank you.

carlitux commented 5 years ago

if you run at that level will create, always create a cwd already the plan is to ask tern to not create that file

hungrybirder commented 5 years ago

if you run at that level will create, always create a cwd already the plan is to ask tern to not create that file

I just upgrade tern to 0.24.0 which supports "--no-port-file" option. Then I upgrade ternjs.py by using that option, it works well for me. Please check this commit