Live Auto Refresh

描述

THIS PLUGIN IS FOR USE DURING THE DEVELOPMENT OF WORDPRESS THEMES

One of the challenges of web development is to ensure that the website instantly reflects the latest changes made in the code or the content. Manually refreshing the browser after every edit can be tedious and is inefficient and inconvenient.

Some web development tools such as Live Reload provide a feature that instantly reloads the browser when any theme file code is edited during development or when a content edit is saved, which enables the developer to see the updated version of the website in browser as soon as the changes are saved in the code editor. No additional actions are required to view the results.

This AUTO REFRESH plugin replicates this functionality within WordPress theme development, as well as detecting content saves in the backend for automatic browser reloading. This feature is only visible to logged in administrators, so it does not affect the experience of live website 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.

螢幕截圖

  • Admin Bar toggle to enable or disable the monitoring.
  • Console notifications of active monitoring, file change detection, style detection.
  • Disables monitoring after a 10 minute timeout only if no changes have been detected.

安裝

  1. Install to your site from the WordPress Plugin Directory
  2. Activate the plugin through the Plugins menu in WordPress

常見問題

What files does this monitor for code changes?

All files within the active theme and child theme if applicable.

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

評價

閱讀全部2個評價

貢獻者及開發者

“Live Auto Refresh” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Live Auto Refresh 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Initial version