pattern-lab/plugin-reload
最新稳定版本:v2.0.1
Composer 安装命令:
composer require pattern-lab/plugin-reload
包简介
Automatic Browser Reload Support for Pattern Lab
README 文档
README
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
统计信息
- 总下载量: 159.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-21