diff --git a/docs/source/docs/contributing/building-photon.md b/docs/source/docs/contributing/building-photon.md index 747e9565f..4814b629d 100644 --- a/docs/source/docs/contributing/building-photon.md +++ b/docs/source/docs/contributing/building-photon.md @@ -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: