Add missing buildAndCopyUI instructions (#2457)

Adds ./gradlew buildAndCopyUI instruction to the documentation on building Photonvision, to clarify that this step must be ran to properly build the UI

Closes #2452
This commit is contained in:
Charlotte Wilson
2026-05-02 15:19:32 -04:00
committed by GitHub
parent 803bdb222c
commit b99e85d0ba

View File

@@ -47,6 +47,30 @@ In the photon-client directory:
pnpm install
```
### Building the UI
In order to properly build UI changes before running the project, run the following `gradlew` command in the project's root directory:
```{eval-rst}
.. tab-set::
.. tab-item:: Linux
:sync: linux
``./gradlew buildAndCopyUI``
.. tab-item:: macOS
:sync: macos
``./gradlew buildAndCopyUI``
.. tab-item:: Windows (cmd)
:sync: windows
``gradlew buildAndCopyUI``
```
### Using hot reload on the UI
In the photon-client directory: