Automatically run composer install if no vendor dir
This commit is contained in:
parent
e28063fac1
commit
47804e6239
1 changed files with 5 additions and 0 deletions
5
watch.sh
5
watch.sh
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -d vendor/ ];
|
||||
then
|
||||
composer install
|
||||
fi
|
||||
|
||||
./vendor/bin/sculpin generate --server --watch --clean --no-interaction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue