Automatic Browser Reload Support for Pattern Lab
PHP JavaScript
Latest commit d7e19f0 Jul 3, 2016 @dmolsen dmolsen removing bad comma
Failed to load latest commit information.
dist/js working version of the plugin Jun 21, 2016
src/PatternLab/Reload referencing the proper config variable Jun 30, 2016
.editorconfig correct editor config setting Jun 29, 2016
LICENSE initial commit Jun 21, 2016
composer.json removing bad comma Jul 3, 2016

license Packagist Gitter

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.


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.


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