LIVERELOAD(1)

πŸ“¦
version 2.7.1 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ LIVERELOAD(1) ✨

User Commands πŸŽ€ the automatic browser refresher

okay bestie, settle in, because this little command is about to change your whole dev workflow πŸ’… it lives in section 1 of the manual (that's the "user commands" section, the one for the stuff you actually type), and it's called livereload. yes, like live reload. yes, it does exactly what it sounds like. obsessed.


πŸ¦‹ NAME πŸ¦‹

livereload β€” the automatic browser refresher 🌈


πŸ’– DESCRIPTION πŸ’–

So here's the whole vibe, fr fr. This is how you call it:

usage: livereload [-h] [--host HOST] [-p PORT] [-t TARGET] [-w WAIT]
       [-o OPEN_URL_DELAY] [-d] [directory]

(yeah the original wraps that line mid-way, we're keeping it exactly like that, no notes πŸ’€)

and what it does is: it starts a livereload server. that's it, that's the whole personality. your browser refreshes itself when stuff changes and you get to sit there looking like the main character while your page updates in front of everyone ✨

🌸 positional arguments 🌸

  • directory β€” the directory you want to serve files from, bestie. this is where your stuff lives, point it at your stuff 🫢

πŸ“ options πŸ“

  • -h, --help β€” shows you this help message and then exits. the classic. always there for you πŸ’œ
  • --host HOST β€” the hostname you want to run the livereload server on. like, which name it answers to πŸ‘‘
  • -p, --port PORT β€” the port to run the livereload server on. pick your number, claim your territory πŸŽ€
  • -t, --target TARGET β€” the file or directory to watch for changes. this is the thing your server is keeping an eye on, like a very dedicated friend who notices when you change your hair 😭
  • -w, --wait WAIT β€” the time delay in seconds before reloading. a little pause, a little breath, a little "hold on bestie I'm coming" 🧚
  • -o, --open-url-delay OPEN_URL_DELAY β€” if you set this, it triggers the browser opening <D> seconds after starting. so it just... opens it for you. iconic behaviour, honestly 🌟
  • -d, --debug β€” enables Tornado pretty logging. pretty logging!! for when you want to see everything going on in the cutest possible way πŸ”₯

heads up bestie: this page doesn't list any extra gotchas, warnings, or exit statuses β€” what you see above is the whole menu, no cap. don't go inventing flags, they're not there πŸ’€

and that's the whole page, mwah πŸ’‹ this little writeup is for livereload 2.7.1, dated January 2025 β€” go forth and never hit refresh manually again, you absolute legend πŸ«Άβœ¨πŸ’–

πŸ“¦ where this page comes from