This commit is contained in:
Oliver
2026-03-12 13:20:04 -03:00
commit c6339774b0
2 changed files with 106 additions and 0 deletions
Executable
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
#!/bin/bash
# Simple static file server with live reload
# Requires Node.js and live-server
# Check if live-server is installed
if ! command -v live-server &> /dev/null
then
echo "Installing live-server..."
npm install -g live-server
fi
# Serve the current directory with auto-reload
echo "Starting live-server on http://localhost:8080 ..."
live-server .