LIVERELOAD(1)
β¨ 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 thelivereloadserver on. like, which name it answers to π-p,--port PORTβ the port to run thelivereloadserver 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
- debian trixie: python3-livereload 2.7.1-0.1 Β· BSD-3-Clause
- ubuntu resolute: python3-livereload 2.7.1-0.1 Β· BSD-3-Clause
- ubuntu stonking: python3-livereload 2.7.1-0.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms