8000 Merge branch '5.4' into 6.3 · symfony/symfony-docs@c7e2b98 · GitHub
[go: up one dir, main page]

Skip to content

Commit c7e2b98

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: Mention Symfony CLI workers where applicable
2 parents a750ec5 + a31f282 commit c7e2b98

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

frontend/encore/simple-example.rst

Lines changed: 7 additions & 0 deletions
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

messenger.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,13 @@ The first argument is the receiver's name (or service id if you routed to a
494494
custom service). By default, the command will run forever: looking for new messages
495495
on your transport and handling them. This command is called your "worker".
496496

497+
.. tip::
498+
499+
In a development environment and if you're using the Symfony CLI tool,
500+
you can configure workers to be automatically run along with the webserver.
501+
You can find more information in the
502+
:ref:`Symfony CLI Workers <symfony-server_configuring-workers>` documentation.
503+
497504
.. tip::
498505

499506
To properly stop a worker, throw an instance of

setup/symfony_server.rst

Lines changed: 2 additions & 0 deletions
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)
0