Start browser-sync In The Current Directory
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
}
Notes
-
The version with
--directory
lists directories out even if there's anindex.html
file in the dir - I flip back and forth depending on what I'm doing
-- end of line --