h
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 183 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 46 KiB |
@@ -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 .
|
||||||
|
|
||||||
|
|
||||||