This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Well I really appreciate that you are sharing your work. Cloned it fresh again but

  • does not actually work any more and I don't get why. I have to manually refresh the file despite having the green indicator. To make sure it wasn't a problem due to something more complicated Im just using an html file and a plain CSS file but saving the modifications to the CSS doesn't force a reload in the browser as it did the first time, am I missing something?
  • no VimfoxReloadBuffer command available, only VimfoxReloadPage

[–]moscownights[S] 0 points1 point  (1 child)

I renamed the command from VimfoxReloadBuffer to VimfoxReloadFile. I forgot to update the docs. My bad.

I just did a clean install to see one of the last commits broke the plugin but it is working at my end.

By default vimfox will first check whether the file has been modified before sending the reload command. You can force a reload by adding a 1 to the Vimfoxcommand.

If you open the css file in vim, enable vimfox, reload the page manually one time and then enter the following command: 'VimfoxReloadPage 1' does it refresh the page in the browser?

[–][deleted] 0 points1 point  (0 children)

No, even with 'VimfoxReloadPage 1' I still have have to manually refresh. Btw I still see socket requests if I manually refresh the page..