Maelezo
THIS PLUGIN IS FOR USE DURING THE DEVELOPMENT OF WORDPRESS THEMES
Live Auto Refresh helps developers instantly see changes made to theme code or content by automatically reloading the browser. No manual refresh is needed.
New in this version:
– Performance: Only .php, .js, and .css files are monitored, and file change detection uses fast file modification times.
– Security: All AJAX requests are protected by nonces, and all user input is properly sanitized.
– Usability: A settings page is available under Settings Live Auto Refresh for enabling/disabling the plugin and to change the refresh interval and to alter the monitoring timeout.
This plugin is only active for logged-in administrators and does not affect regular site visitors.
This greatly enhances the productivity and accuracy of web development. It allows the developer to test and debug the website in real time and to instantly view how the content appears on the front end of all loaded logged in browsers and devices. With this feature, the developer can always ensure that the website matches the intended design and functionality.
Screenshots
Installation
- Install to your site from the WordPress Plugin Directory
- Activate the plugin through the Plugins menu in WordPress
- Use the new settings page (Settings Live Auto Refresh) to enable or disable auto refresh as needed.
FAQ
-
What files does this monitor for code changes?
-
By default, only .php, .js, and .css files within the active theme and child theme are monitored for changes. This improves performance and avoids unnecessary checks on other files.
-
Do style changes reload the page?
-
Changes to CSS files will hot reload to display the updates styling without reloading the HTML DOM.
-
What content saves trigger a refresh?
-
Editor saves to the wordpress page or post content.
-
How are PHP errors handled?
-
If WP_DEBUG is enabled then any non critical error messages will display.
Critical errors will prevent the plugin running, so a manual reload will be required once the code error is fixed to restart monitoring. -
Do you accept donations?
-
This plugin saves developers valuable time, so any donations are greatly appreciated!
DONATE -
How do I use the new settings page?
-
Go to Settings
Live Auto Refresh in your WordPress admin dashboard. You can enable or disable auto refresh here. The admin bar toggle is also available for quick access. -
How is security handled?
-
All AJAX requests are protected by WordPress nonces, and all input is strictly sanitized. Only administrators can enable or disable auto refresh.
-
How is performance improved?
-
The plugin now only checks .php, .js, and .css files and uses file modification times instead of full file hashes for much faster detection.
Reviews
Wachangiaji & Wasanidi
“Live Auto Refresh” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Live Auto Refresh” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.1
- Added settings link to the plugin page.
- Fixed versioning for js file.
2.0
- Added settings page for enabling/disabling the plugin and to change the refresh interval.
- Added settings option to alter the monitoring timeout.
- Updated WP tested version to 6.8.1
1.1
- Updated WP tested version to 6.7.1
1.0
- Initial version