Skip to content

Commit 1c2a61a

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Adding all rpm commands
2 parents ef0dc2b + 71f74f3 commit 1c2a61a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

frontend/encore/simple-example.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,26 @@ To build the assets, run the following if you use the Yarn package manager:
6868
6969
# compile assets and automatically re-compile when files change
7070
$ yarn watch
71-
72-
# if using npm, use "npm run" and then any of these commands
71+
# or
7372
$ npm run watch
7473
7574
# or, run a dev-server that can sometimes update your code without refreshing the page
7675
$ yarn dev-server
77-
76+
# or
77+
$ npm run dev-server
78+
7879
# compile assets once
7980
$ yarn dev
81+
# or
82+
$ npm run dev
8083
8184
# on deploy, create a production build
8285
$ yarn build
86+
# or
87+
$ npm run build
8388
8489
All of these commands - e.g. ``dev`` or ``watch`` - are shortcuts that are defined
85-
in your ``package.json`` file. If you use the npm package manager, replace ``yarn``
86-
with ``npm run``.
90+
in your ``package.json`` file.
8791

8892
.. caution::
8993

0 commit comments

Comments
 (0)