Skip to content

Mention Symfony CLI workers where applicable #19334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/encore/simple-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ To build the assets, run the following if you use the Yarn package manager:
All of these commands - e.g. ``dev`` or ``watch`` - are shortcuts that are defined
in your ``package.json`` file.

.. tip::

If you're using the Symfony CLI tool, you can configure workers to be
automatically run along with the webserver. You can find more information
in the :ref:`Symfony CLI Workers <symfony-server_configuring-workers>`
documentation.

.. caution::

Whenever you make changes in your ``webpack.config.js`` file, you must
Expand Down
7 changes: 7 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,13 @@ The first argument is the receiver's name (or service id if you routed to a
custom service). By default, the command will run forever: looking for new messages
on your transport and handling them. This command is called your "worker".

.. tip::

In a development environment and if you're using the Symfony CLI tool,
you can configure workers to be automatically run along with the webserver.
You can find more information in the
:ref:`Symfony CLI Workers <symfony-server_configuring-workers>` documentation.

.. tip::

To properly stop a worker, throw an instance of
Expand Down
2 changes: 2 additions & 0 deletions setup/symfony_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ There are several options that you can set using a ``.symfony.local.yaml`` confi
using the ``proxy:domain:attach`` command for the current project when you start
the server.

.. _symfony-server_configuring-workers:

Configuring Workers
~~~~~~~~~~~~~~~~~~~

Expand Down