Skip to content

auto create php server and listen to change file for refresh page in ubuntu with bash script

Notifications You must be signed in to change notification settings

Omid1989/ListenForRefreshPageInPhpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Listen To Change And Refresh Page

auto create php server and listen to change file for refresh page in ubuntu with bash script

before run 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-tools
  • sudo apt-get install -y xdotool

Usage in laravel

  • copy run.sh into project root
  • open terminal in project root
  • run bash run.sh

php server run in localhost:8002

if you want to change port and php file change this Variables

  • URL='localhost:8002'
  • target_dir='public/index.php

About

auto create php server and listen to change file for refresh page in ubuntu with bash script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages