Tom Butler's programming blog

NoF5 Web Development Tool

No longer wear out your F5 key! This simple PHP script will let you avoid refreshing the browser each time you change a file!



1) Include nof5.phar at the top of your script.

require_once 'nof5.phar';

2) Save a file on the server and your browser will be updated as long as the page you're viewing has a <head> tag!


Download NoF5.phar or View the source code on GitHub

Windows support?

It would be good if this supported windows, however I don't have a Windows PC to test on. If anyone knows of an equivalent utility to Linux's strace for monitoring file access, it could be used to implement a Windows version.