search

Home  >  Q&A  >  body text

browsersync can only detect one HTML file at a time?

browsersync can only detect one HTML file at a time? When there are multiple HTML files in the folder, it will only prefer the first one created? ? ? What I see when I run it temporarily is like this~ Can anyone help me with the answer?

娴@.@微梦娴@.@微梦2491 days ago1639

reply all(1)I'll reply

  • oswell

    oswell2018-04-26 08:40:06

    // If your file hierarchy is relatively deep, you may consider using ** (indicating any directory) to match any .css or .html file in any directory.

    browser-sync start --server --files "**/*.css, **/*.html"

    reply
    0
  • Cancelreply