mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 22:39:16 +02:00
10 lines
312 B
Python
10 lines
312 B
Python
#!/usr/bin/env python
|
|
from subprocess import call
|
|
|
|
# initial make
|
|
call(["python", "-m", "sphinx", ".", "/tmp/_build"])
|
|
from livereload import Server, shell
|
|
|
|
server = Server()
|
|
server.watch("..", shell("python -m sphinx . /tmp/_build"))
|
|
server.serve(root="/tmp/_build/", liveport=35730, port=8001, host="0.0.0.0")
|