@@ -8,14 +8,14 @@ While developing, instead of using ``yarn encore dev --watch``, you can use the
8
8
9
9
$ yarn encore dev-server
10
10
11
- This builds and serves the front-end assets from a new server. This server runs at
12
- ``localhost:8080 `` by default, meaning your build assets are available at ``localhost:8080/build ``.
13
- This server does not actually write the files to disk; instead it servers them from memory,
11
+ This builds and serves the front-end assets from a new server. This server runs at
12
+ ``localhost:8080 `` by default, meaning your build assets are available at ``localhost:8080/build ``.
13
+ This server does not actually write the files to disk; instead it servers them from memory,
14
14
allowing for hot module reloading.
15
15
16
- As a consequence, the ``link `` and ``script `` tags need to point to the new server. If you're using the
17
- ``encore_entry_script_tags() `` and ``encore_entry_link_tags() `` Twig shortcuts (or are
18
- :ref: `processing your assets through entrypoints.json <load-manifest-files >` in some other way),
16
+ As a consequence, the ``link `` and ``script `` tags need to point to the new server. If you're using the
17
+ ``encore_entry_script_tags() `` and ``encore_entry_link_tags() `` Twig shortcuts (or are
18
+ :ref: `processing your assets through entrypoints.json <load-manifest-files >` in some other way),
19
19
you're done: the paths in your templates will automatically point to the dev server.
20
20
21
21
The ``dev-server `` command supports all the options defined by `webpack-dev-server `_.
@@ -64,7 +64,6 @@ If you want to use SSL with self-signed certificates, add the ``--https``,
64
64
the ``package.json `` file:
65
65
66
66
.. code-block :: diff
67
- :dedent: 0
68
67
69
68
{
70
69
...
0 commit comments