Skip to content

Why does it reload twice? #1727

@trusktr

Description

@trusktr

Issue details

I'm running

browser-sync start --server ./ --watch dist

and in my dist folder I have a single index.js file. When this file changes, the page reloads twice.

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

  • Browsersync [2.26.7]
  • Node [12.12.0]
  • Npm [6.11.3]

Affected platforms

  • linux
  • windows
  • OS X
  • freebsd
  • solaris
  • other (please specify which)

Browsersync use-case

  • API
  • Gulp
  • Grunt
  • CLI

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