Skip to content

Commit

Permalink
Update developing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Nov 19, 2024
1 parent 8a9b5d9 commit f438f71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/developing-locust.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Yarn
$ yarn --version
- Next in web, install all dependencies
- Next, install all dependencies

.. code-block:: console
Expand All @@ -149,9 +149,9 @@ Yarn
Developing
----------

To develop the frontend, run ``yarn dev``. This will start the Vite dev server and allow for viewing and editing the frontend, without needing to a run a locust web server
To develop while running a locust instance, run ``yarn watch``. This will output the static files to the ``dist`` directory. Vite will automatically detect any changed files and re-build as needed. Simply refresh the page to view the changes

To develop while running a locust instance, run ``yarn dev:watch``. This will output the static files to the ``dist`` directory. Vite will automatically detect any changed files and re-build as needed. Simply refresh the page to view the changes
In certain situations (usually when styling), you may want to develop the frontend without running a locust instance. Running ``yarn dev`` will start the Vite dev server and allow for viewing your changes.

To compile the webui, run ``yarn build``

Expand Down

0 comments on commit f438f71

Please sign in to comment.