Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

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. `ngrok`` can be added to the mix to let you share files easily with someone else.

Code

browser-sync . --watch --directory --no-notify
  • Link to ngrok posts

  • Look into the `--tunnel`` flag as another option instead of `ngrok``

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

References