check that entr is installed for live script
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! command -v 'entr' > /dev/null; then
|
||||
echo 'please install `entr`' >&2
|
||||
echo 'http://eradman.com/entrproject/' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find server/assets/ | entr -r ./_do_run_server $@
|
||||
|
||||
Reference in New Issue
Block a user