|
@@ -9,7 +9,7 @@ echo "Restarting LaravelS..."
|
|
|
|
|
|
echo "Starting fswatch..."
|
|
echo "Starting fswatch..."
|
|
LOCKING=0
|
|
LOCKING=0
|
|
-fswatch -r -e ".*" -i "\\.php$" ${WORK_DIR} | while read file
|
|
|
|
|
|
+fswatch -e ".*" -i "\\.php$" -m poll_monitor -r ${WORK_DIR} | while read file
|
|
do
|
|
do
|
|
if [[ ! ${file} =~ .php$ ]] ;then
|
|
if [[ ! ${file} =~ .php$ ]] ;then
|
|
continue
|
|
continue
|