pattern-lab / plugin-reload
Automatic Browser Reload Support for Pattern Lab
Package info
github.com/pattern-lab/plugin-php-reload
Type:patternlab-plugin
pkg:composer/pattern-lab/plugin-reload
Requires
- php: >=5.4
- pattern-lab/core: ^2.4.0
- wrench/wrench: ^2.0.0
This package is auto-updated.
Last update: 2026-05-13 05:10:25 UTC
README
Important
Pattern Lab is no longer actively maintained. All repositories, along with the rest of the @pattern-lab ecosystem on GitHub and npm, have been deprecated and archived. The code, releases, and history remain available so the work stays discoverable and forks can continue independently under the MIT license. No new releases, security patches, or issue triage will be performed. Read the full message, and thank you.
Reload Plugin for Pattern Lab
The Reload Plugin adds Web Socket-based automatic browser reload support to Pattern Lab. The Reload Plugin will automatically reload the Pattern Lab iFrame if you're using the --watch flag or --server --with-watch flag combo.
Installation
To add the Reload Plugin to your project using Composer type:
composer require pattern-lab/plugin-reload
See Packagist for information on the latest release.
Usage
The Reload Plugin is automatically turned on when you install it. Simply "watch" your project using the following command:
php core/console --watch
You can also run your server and watch your project at the same time:
php core/console --server --with-watch
Disabling the Plugin
To disable the Reload Plugin you can either directly edit ./config/config.yml or use the command line option:
php core/console --config --set plugins.reload.enabled=false