browserlink.vim icon indicating copy to clipboard operation
browserlink.vim copied to clipboard

Node server not started from Neovim

Open RomainEndelin opened this issue 8 years ago • 9 comments

I've been trying browserlink with Vim, and it works great: the node server just starts after the first save, as expected. But when using Neovim (with python 2.7 support), the server doesn't start on its own. Then, if I run node browserlink.js manually from another terminal, everything works fine again.

Thanks.

PS. This issue is actually an accurate version of #43, where I had totally misunderstood the problem.

RomainEndelin avatar Mar 29 '16 20:03 RomainEndelin

What OS are you running?

jaxbot avatar Mar 29 '16 21:03 jaxbot

I'm on ArchLinux. Oh, and by the way, my Neovim version is v0.1.2-324.

RomainEndelin avatar Mar 30 '16 07:03 RomainEndelin

Running into the same issue, using Neovim 0.1.3 on Ubuntu trusty.

AGhost-7 avatar May 07 '16 18:05 AGhost-7

Can confirm same issue here. Arch Linux, neovim 0.1.4

beanaroo avatar May 17 '16 10:05 beanaroo

Same issue on Ubuntu trusty, neovim 0.1.5-dev.

gsunjka avatar May 22 '16 07:05 gsunjka

I'm also having this issue, OS X El Capitan (10.11.5), NeoVim 0.1.4

J3RN avatar Jun 02 '16 18:06 J3RN

Same issue, Gentoo Linux, NeoVim 0.1.4

alepez avatar Jun 06 '16 09:06 alepez

I guess it's related to https://github.com/neovim/neovim/issues/1496

alepez avatar Jun 06 '16 09:06 alepez

EDIT: Does work on Arch and vim 8.0.

I just thought browserlink also starts a webserver (like some vim markdown preview plugins do).

It's worth noting that

  1. it does not work on the file system (file:///home/user/test.html) because JS and Chromium extensions (like Tempermonkey) will not be loaded in this case.
  2. you have to start a development server your self (e.g. python -m http.server)

schoettl avatar Feb 19 '18 20:02 schoettl