home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Start browser-sync In The Current Directory

January 2024
Code
function bs () {
  # browser-sync . --port 3939 --watch --directory --no-notify --no-inject-changes
  browser-sync . --port 3993 --watch --index "index.html" --no-notify --no-inject-changes
}
  • The version with --directory lists directories out even if there's an index.html file in the dir

  • I flip back and forth depending on what I'm doing

═══ § ═══