Skip to content

CLI --files option only watches first path #1024

@ukgda

Description

@ukgda

Issue details

using the cli with two (or more) paths in the --files option, only the first path appears to be watched

Steps to reproduce/test case

$ browser-sync start --files "index.html, app.css" --server

(only responds / watches changes to index.html)

$ browser-sync start --files "app.css, index.html" --server

(only responds / watches changes to app.css)

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

  • Browsersync [2.11.1 ]
  • Node [ 5.6.0 ]
  • Npm [ 3.6.0 ]

Affected platforms

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

Browsersync use-case

  • API
  • Gulp
  • Grunt
  • [x ] CLI

If CLI, please paste the entire command below

{browser-sync start --files "index.html, app.css" --server}

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

{Browsersync init code here}

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