WP Live.php

Automatically refresh your browser if you change any files in your theme or plugins directory

Author:Bence Meszaros (profile at wordpress.org)
WordPress version required:2.6
WordPress version tested:3.8
Plugin version:1.6.1
Added to WordPress repository:10-12-2011
Last updated:14-01-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:5
Plugin URI:http://wordpress.org/extend/plugins/wp-liveph...
Total downloads:4 816
Active installs:40+
plugin download
Click to start download

This plugin was written to make WordPress theme and plugin developers' life easier. Inspired by the brilliant live.js script (written by Martin Kool), this plugin will auto refresh your browser if you change any files in your wp-content/themes or plugins directories. No need for Alt-Tab and manual refresh anymore.

If you activate the WP Live Php plugin, it adds a small javascript file to your blog. It will monitor your directories by calling wp-live.php every second. If any file changed (i.e. has a newer filemtime), the browser will be refreshed.

With this plugin, it is also very easy to check your work in many browsers simultaneously. Just enable Frontend Monitoring, load the site in all your browsers and the rest goes automatically.

Starting from v1.3 there is an option to enable admin bar integration, to conveniently enable or disable Live.php monitoring directly on your frontend or backend with just one click.

Since v1.5 with the content update feature, you can auto-update your browser with every post or page save. For this we create a file in the uploads base folder (wp-content/uploads/), and touch it with every save, which will trigger a refresh in the client browser. That location must be writable for this to work.

WARNING! You should never activate this plugin on a live server! It is meant for developer environment only! Use http://wordpress.org/plugins/reload/ instead, which is created for production environments.