auto create php server and listen to change file for refresh page in ubuntu with bash script
i used two package for listen to change file and run and send key to web browser install that
sudo apt-get install -y inotify-toolssudo apt-get install -y xdotool
copy run.sh into project rootopen terminal in project rootrun bash run.sh
php server run in localhost:8002
URL='localhost:8002'target_dir='public/index.php