Skip to content

Instantly share code, notes, and snippets.

@stevenocchipinti
Created September 4, 2018 07:33
Show Gist options
  • Save stevenocchipinti/b4a944170ee2c8e036a6aa62e363b426 to your computer and use it in GitHub Desktop.
Save stevenocchipinti/b4a944170ee2c8e036a6aa62e363b426 to your computer and use it in GitHub Desktop.
A `serve-live` command for fish

serve-live

A live reload server command for fish

Installation

yarn global add browser-sync
echo "browser-sync start -s -f . --no-notify --host (ipconfig getifaddr en0) --port 9000" > ~/.config/fish/functions/serve-live.fish
chmod +x ~/.config/fish/functions/serve-live.fish

Usage

serve-live
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment