🔧 Adjusted serve script

This commit is contained in:
z3rOR0ne 2024-03-02 11:05:19 -08:00
parent 562227baa5
commit adc9701157

View file

@ -1,3 +1,9 @@
#!/bin/bash
live-server --browser=$BROWSER_2 --open="$1"
if [ -z "$1" ]; then
directory='.'
else
directory="$1"
fi
live-server --browser=librewolf --open="$directory"