Skip to content

Commit

Permalink
update fswatch ouput message
Browse files Browse the repository at this point in the history
Signed-off-by: XieBiao <[email protected]>
  • Loading branch information
hhxsv5 committed Sep 13, 2018
1 parent d9a22d8 commit bafb3b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/fswatch
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ LOCKING=0
fswatch -e ".*" -i "\\.php$" ${WORK_DIR} | while read file
do
if [ ${LOCKING} -eq 1 ] ;then
echo "Reloading, skipped"
echo "Reloading, skipped."
continue
fi
echo "File ${file} has been modified"
echo "File ${file} has been modified."
LOCKING=1
php artisan laravels reload
LOCKING=0
Expand Down

0 comments on commit bafb3b3

Please sign in to comment.