livereload als Firefox Plugin oder deb Paket?

Du suchst ein Programm für einen bestimmten Zweck?
Antworten
AxelMD
Beiträge: 1380
Registriert: 15.03.2009 08:02:11

livereload als Firefox Plugin oder deb Paket?

Beitrag von AxelMD » 25.01.2020 11:12:25

Hallo Forum,

welche LiveReload-Lösung ist empfehlenswerter?

Programm LiveReload 2

http://livereload.com/

deb Paket

https://packages.debian.org/buster/python-livereload
It is really boring for Web developers to need to refresh their browser every time they save a (CSS, JavaScript, or HTML) file. LiveReload will take care of that for you, so that when you save a file, your browser will refresh itself - and what's more, it can perform tasks such as compiling LESS to CSS before the browser reload.
Mit python-livereload habe ich bisher keine Erfahrung, kennt jemand ein gutes Tutorial?

Firefox Plugin


https://addons.mozilla.org/de/firefox/a ... ve-reload/

https://github.com/blaise-io/live-reload#readme


MfG

Axel

eggy
Beiträge: 3331
Registriert: 10.05.2008 11:23:50

Re: livereload als Firefox Plugin oder deb Paket?

Beitrag von eggy » 25.01.2020 13:48:59

Code: Alles auswählen

livereload index.html 
dann bekommst Du angezeigt, auf welchem Port er den Server startet, im Browser http://localhost:35729 (oder entsprechenden andere Port) eingeben, ggfs noch Scripte erlauben, fertig.

Will man Extras, wie üblich einfach mal in die Manpage schauen, https://manpages.debian.org/testing/pyt ... .1.en.html sagt unter anderem:
usage: livereload [-h] [--host HOST] [-p PORT] [-t TARGET] [-w WAIT] [-o OPEN_URL_DELAY] [-d] [directory]

Start a `livereload` server

Antworten