summaryrefslogtreecommitdiff
path: root/templates/live_preview.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/live_preview.py')
-rw-r--r--templates/live_preview.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/templates/live_preview.py b/templates/live_preview.py
deleted file mode 100644
index e753fc6..0000000
--- a/templates/live_preview.py
+++ /dev/null
@@ -1,14 +0,0 @@
1from livereload import Server
2
3server = Server()
4# Watch HTML file
5server.watch('index.html')
6# Watch CSS files
7server.watch('static/styles.css')
8# Watch JavaScript files
9server.watch('static/main.mjs')
10# Watch other files if needed
11server.watch('page/*') # Watch everything in the page folder
12
13# Serve the current directory
14server.serve(root='.')