mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 12:18:27 +02:00
✨ New docker recipes for a backend only environment
This commit is contained in:
parent
007728819b
commit
bc725800ed
6 changed files with 149 additions and 12 deletions
|
@ -10,6 +10,23 @@ if [ ! -e ~/.fixtures-loaded ]; then
|
|||
touch ~/.fixtures-loaded
|
||||
fi
|
||||
|
||||
clojure -A:dev -M -m app.main
|
||||
if [ "$1" = "--watch" ]; then
|
||||
echo "Start Watch..."
|
||||
|
||||
clojure -A:dev -M -m app.main &
|
||||
PID=$!
|
||||
|
||||
npx nodemon \
|
||||
--watch src \
|
||||
--watch ../common \
|
||||
--ext "clj" \
|
||||
--signal SIGKILL \
|
||||
--exec 'echo "(user/restart)" | nc -N localhost 6062'
|
||||
|
||||
kill -9 $PID
|
||||
else
|
||||
clojure -A:dev -M -m app.main
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue