5

Browsersync cheatsheet

 2 years ago
source link: https://devhints.io/browser-sync
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
This is Devhints.io cheatsheets — a collection of cheatsheets I've written.
npm i -g browser-sync

Start a server

browser-sync start --server <path> --files='**/*.html, **/*.css'

Options

  --port=N
  --proxy="http://127.0.0.1:3000"

Reference

Devhints.io cheatsheets is a collection of cheatsheets I've written over the years. Suggestions and corrections? Send them in.

I'm Rico Sta. Cruz. Check out my Today I learned blog for more.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK