Skip to content

browser-sync does not work when the editor is vim?? #2076

@wisdomlight

Description

@wisdomlight

Issue details

so I only do basic html css stuff with browser-sync
I use vim as my editor
browser-sync start --server --files index.html chapter-8-static.css
or
browser-sync start --server --files index.html *.css are the commands I used.
The issue - when working with Text Editor (gedit) and using the above command - things work fine!

When using vim to edit the css and html files, the saved changes are not reflected in the browser.

F5 will make edits visible.

Sometimes editing with vim - changes to the css files are visible, othertimes not, same with the html.
There's no reason nor rhyme

Any advice?

Steps to reproduce/test case

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [ 3.0.2 ]
  • Node [ v12.22.9 ]
  • Npm [ 8.5.1 ]

Affected platforms

  • [ x] linux

Browsersync use-case

  • [x ] CLI

If CLI, please paste the entire command below

browser-sync start --server --files index.html chapter-8-static.css

browser-sync start -s --cwd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions