Skip to content

Auto-reloads you html/css/js files in your browser, if you saved them.

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
LIVEPY_LICENSE
Notifications You must be signed in to change notification settings

worstprgr/livepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LivePy

LivePy reloads your html/css/js files, that are related to your html file you're working on.

It uses Live.js under the hood for the main work.
LivePy injects the live.js file below your <head> tag and removes it, after you shutted down the programm via Ctrl-c.

Usage

You'll need the live.py and live.js in the same folder as your html file.
This is a current 'limitation' by the live.js file and I don't want to hack it. In the future(TM) I'll create a more dynamic approach, that isn't dependend on the live.js file.

usage: live.py [-h] [-p PORT] html

positional arguments:
  html                  The file name of your html. You can omit the file extension ".html" if you want.

options:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  Custom port. [Optional] (Default: 9005)

Dependencies / License

You'll need:

  • Python 3.9+
  • Optional: current Live.js

Inside this project, there's a live.js already included. But if you wish the latest version, fetch it from their homepage.

Live.js comes with it's own license. Please see LICENSE for more information.

About

Auto-reloads you html/css/js files in your browser, if you saved them.

Topics

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
LIVEPY_LICENSE

Stars

Watchers

Forks