Linux 软件免费装
Banner图

Live Auto Refresh (Hot Reload / Live Reload for WordPress Developers)

开发者 perron
更新时间 2025年7月9日 21:08
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.8.1
版权: GPLv2 or later
版权网址: 版权信息

标签

refresh auto refresh reload live reload hot reload

下载

1.1 2.0 3.2 3.2.1 2.1 3.0 2.2 1.0 3.1

详情介绍:

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. 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. This plugin is only active for logged-in administrators and does not affect regular site visitors. 🆕 MAJOR v3 UPDATES ~ New in this version:

安装:

  1. Install to your site from the WordPress Plugin Directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Use the new settings page (Settings → Live Auto Refresh) to enable or disable auto refresh as needed.

屏幕截图:

  • Console notifications of active monitoring, file change detection, style detection.
  • Disables monitoring after a defined timeout only if no changes have been detected.

常见问题:

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.

Supports popular page builders content save monitoring

Auto refresh triggers on content save in these builders:

  • WP Block Editor (Gutenberg)
  • Elementor
  • Beaver Builder
  • Bricks Builder
  • WPBakery
  • Divi
  • Visual Composer

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, or use the admin bar toggle for quick access. The settings page also allows you to monitor all file types, or default (php, css, js). You can also select which plugins to monitor for changes during development. Interval and timeout options are also available.

Advanced extensibility:

Developers can add support for additional builder save hooks using the perron_auto_refresh_custom_hooks filter. Example: add_filter('perron_auto_refresh_custom_hooks', function($hooks) { $hooks[] = 'my_custom_builder_save_hook'; return $hooks; });

Do you accept donations?

This plugin saves developers valuable time, so any donations are greatly appreciated! DONATE

更新日志:

3.2.1 3.2 3.1 3.0 2.2 2.1 2.0 1.1 1.0