From 2319d501ed62cb9d419c0ff27d27513b218e3900 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Fri, 16 Sep 2022 17:19:02 +0200 Subject: [PATCH] Promoting encore restart note ...cause it's somewhat counter-intuitive that restart is required even when `watch` is running. --- frontend/encore/simple-example.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/encore/simple-example.rst b/frontend/encore/simple-example.rst index 21a3bad9093..eef08de0207 100644 --- a/frontend/encore/simple-example.rst +++ b/frontend/encore/simple-example.rst @@ -85,9 +85,9 @@ All of these commands - e.g. ``dev`` or ``watch`` - are shortcuts that are defin in your ``package.json`` file. If you use the npm package manager, replace ``yarn`` with ``npm run``. -.. note:: +.. caution:: - Stop and restart ``encore`` each time you update your ``webpack.config.js`` file. + Whenever you make changes in your ``webpack.config.js`` file, you need to stop and restart ``encore``. Congrats! You now have three new files: