Auto refresh script in command line <p>I'm using the command line to execute my php scripts instead of executing them in the browser, so I can look for errors a bit quicker. For browser there are some auto-refresh applications/plugins, so you don't have to hit CMD+R all the time. </p> <p>For my error log I can use the <code>tail -f</code> command, but sure enough it doesn't execute/compile, so I can't use it for php files in the command-line. </p> <p>Is there some equivalent or any work-around for compiled php-files ? Would be even greater to only output something in case of an error (native php-error like warnings, notices)!</p> <p>Working on mac os/x if that's somehow helpful.</p>