Skip to content

Commit 42669a2

Browse files
committed
Add watcher suggestions
1 parent 9dee8cc commit 42669a2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ Yes, you can use the plugin during development, but keep in mind the attributes
8282
generated after the autoloader is dumped. If you modify attributes you'll have to
8383
run `composer dump` to refresh the attributes file.
8484

85-
As a workaround you could have a watcher on your source directory that runs `composer dump` when you
86-
make changes, but that could be an overkill.
85+
As a workaround you could have watchers on the directories that contain classes with attributes to
86+
run `composer dump` when you make changes. [PhpStorm offers file watchers][phpstorm-watchers]. You
87+
could also use [spatie/file-system-watcher][], it only requires PHP.
8788

8889

8990

@@ -271,3 +272,5 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
271272

272273
[Composer]: https://getcomposer.org/
273274
[ICanBoogie/MessageBus]: https://github.com/ICanBoogie/MessageBus
275+
[spatie/file-system-watcher]: https://github.com/spatie/file-system-watcher
276+
[phpstorm-watchers]: https://www.jetbrains.com/help/phpstorm/using-file-watchers.html

0 commit comments

Comments
 (0)