Skip to content

Commit 998eafa

Browse files
Mention Symfony CLI workers where applicable
1 parent 5fb46a1 commit 998eafa

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

Diff for: frontend/encore/simple-example.rst

+7
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ To build the assets, run the following if you use the Yarn package manager:
8383
All of these commands - e.g. ``dev`` or ``watch`` - are shortcuts that are defined
8484
in your ``package.json`` file.
8585

86+
.. tip::
87+
88+
If you're using the Symfony CLI tool, you can configure workers to be
89+
automatically run along with the webserver. You can find more information
90+
in the :ref:`Symfony CLI Workers <symfony-server_configuring-workers>`
91+
documentation.
92+
8693
.. caution::
8794

8895
Whenever you make changes in your ``webpack.config.js`` file, you must

Diff for: messenger.rst

+7
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,13 @@ The first argument is the receiver's name (or service id if you routed to a
482482
custom service). By default, the command will run forever: looking for new messages
483483
on your transport and handling them. This command is called your "worker".
484484

485+
.. tip::
486+
487+
In a development environment and if you're using the Symfony CLI tool,
488+
you can configure workers to be automatically run along with the webserver.
489+
You can find more information in the
490+
:ref:`Symfony CLI Workers <symfony-server_configuring-workers>` documentation.
491+
485492
.. tip::
486493

487494
To properly stop a worker, throw an instance of

Diff for: setup/symfony_server.rst

+2
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ There are several options that you can set using a ``.symfony.local.yaml`` confi
338338
using the ``proxy:domain:attach`` command for the current project when you start
339339
the server.
340340

341+
.. _symfony-server_configuring-workers:
342+
341343
Configuring Workers
342344
~~~~~~~~~~~~~~~~~~~
343345

0 commit comments

Comments
 (0)