Skip to content

Commit 771a1b3

Browse files
committed
updating code examples
1 parent 468958c commit 771a1b3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
![license](https://img.shields.io/github/license/pattern-lab/plugin-php-reload.svg?maxAge=2592000)
2-
[![Packagist](https://img.shields.io/packagist/v/pattern-lab/plugin-reload.svg?maxAge=2592000)](https://packagist.org/packages/pattern-lab/plugin-reload) [![Gitter](https://img.shields.io/gitter/room/pattern-lab/php.svg?maxAge=2592000)](https://gitter.im/pattern-lab/php)
1+
![license](https://img.shields.io/github/license/pattern-lab/plugin-php-reload.svg)
2+
[![Packagist](https://img.shields.io/packagist/v/pattern-lab/plugin-reload.svg)](https://packagist.org/packages/pattern-lab/plugin-reload) [![Gitter](https://img.shields.io/gitter/room/pattern-lab/php.svg)](https://gitter.im/pattern-lab/php)
33

44
# Reload Plugin for Pattern Lab
55

6-
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.
6+
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.
77

88
## Installation
99

@@ -19,8 +19,12 @@ The Reload Plugin is automatically turned on when you install it. Simply "watch"
1919

2020
php core/console --watch
2121

22+
You can also run your server and watch your project at the same time:
23+
24+
php core/console --server --with-watch
25+
2226
## Disabling the Plugin
2327

2428
To disable the Reload Plugin you can either directly edit `./config/config.yml` or use the command line option:
2529

26-
php core/console --config --set reload.on=false
30+
php core/console --config --set plugins.reload.enabled=false

0 commit comments

Comments
 (0)