Skip to content

Commit

Permalink
Merge pull request #85 from Rengaraj/master
Browse files Browse the repository at this point in the history
Wait loop added to address Issue #84
  • Loading branch information
shrayasr committed Jul 10, 2015
2 parents 881b891 + 7f39f40 commit 9edff5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions develop_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ function start_up(){
$PELICAN --debug --autoreload -r $INPUTDIR -o $OUTPUTDIR -s $CONFFILE $PELICANOPTS &
pelican_pid=$!
echo $pelican_pid > $PELICAN_PID

while [ ! -e $OUTPUTDIR ];
do
sleep 1
done

cd $OUTPUTDIR
$PY -m pelican.server $port &
srv_pid=$!
Expand Down

0 comments on commit 9edff5f

Please sign in to comment.