Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Browsersync Command To Browse Directories

This is the command I run to launch a quick Browsersync session to serve a directory of files that shows indexes. [TODO: Code shorthand span ] can be added to the mix to let you share files easily with someone else.

bash
browser-sync . --watch --directory --no-notify

- This serves up the current directory you're in. Changing [TODO: Code shorthand span ] to some other path would serve that instead.

- The [TODO: Code shorthand span ] flag watches for file changes and updates the browser accordingly

- The [TODO: Code shorthand span ] flag is what sets Browsersync to serve a listing of files instead of a 404 if there's no index.html file

- The [TODO: Code shorthand span ] flag turns of a notificaiton alert that shows up on the browser when an auto update occurs

- Make sure to only serve directories you intend to if you use ngrok. (I mean, you should do it anyway, but especially if you're letting other folks see things)

[] Link to ngrok posts

[] Look into the [TODO: Code shorthand span ] flag as another option instead of [TODO: Code shorthand span ]

[] Figure out if there's a built in way to change the template used for directory listsing to dark mode

Footnotes And References