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 @@
-from livereload import Server
-
-server = Server()
-# Watch HTML file
-server.watch('index.html')
-# Watch CSS files
-server.watch('static/styles.css')
-# Watch JavaScript files
-server.watch('static/main.mjs')
-# Watch other files if needed
-server.watch('page/*') # Watch everything in the page folder
-
-# Serve the current directory
-server.serve(root='.')