fix(clients): fix vim & intellij plugin to run node with prefer ipv4 options. (#615)
parent
8ea15ceb0e
commit
573196b9d9
|
|
@ -64,7 +64,8 @@ class Agent : ProcessAdapter() {
|
|||
fun open() {
|
||||
val node = getNodeBinary()
|
||||
val script = getNodeScript()
|
||||
val cmd = GeneralCommandLine(node.absolutePath, script.absolutePath)
|
||||
val options = "--dns-result-order=ipv4first"
|
||||
val cmd = GeneralCommandLine(node.absolutePath, options, script.absolutePath)
|
||||
process = object : KillableProcessHandler(cmd) {
|
||||
override fun readerOptions(): BaseOutputReader.Options {
|
||||
return BaseOutputReader.Options.forMostlySilentProcess()
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ function! tabby#OnVimEnter()
|
|||
return
|
||||
endif
|
||||
|
||||
let command = node_binary . ' ' . g:tabby_node_script
|
||||
let command = node_binary . ' --dns-result-order=ipv4first ' . g:tabby_node_script
|
||||
call tabby#agent#Open(command)
|
||||
|
||||
call tabby#keybindings#Map()
|
||||
|
|
|
|||
Loading…
Reference in New Issue