diff --git a/BUILD.md b/BUILD.md index 6696ae7d8..923c4e070 100644 --- a/BUILD.md +++ b/BUILD.md @@ -112,7 +112,7 @@ All the methods below will install Node and Go dependencies when they run the fi Run the following command to build the app and run it via Vite's development server (this enables Hot Module Reloading): ```sh -task electron:dev +task dev ``` ### Standalone @@ -120,7 +120,7 @@ task electron:dev Run the following command to build the app and run it standalone, without the development server. This will not reload on change: ```sh -task electron:start +task start ``` ### Packaged diff --git a/Taskfile.yml b/Taskfile.yml index beb8622e7..909346ebc 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -19,6 +19,8 @@ tasks: electron:dev: desc: Run the Electron application via the Vite dev server (enables hot reloading). cmd: yarn dev + aliases: + - dev deps: - yarn - docsite:build:embedded @@ -30,6 +32,8 @@ tasks: electron:start: desc: Run the Electron application directly. cmd: yarn start + aliases: + - start deps: - yarn - docsite:build:embedded @@ -56,6 +60,8 @@ tasks: desc: Start the docsite dev server. cmd: yarn start dir: docs + aliases: + - docsite deps: - yarn diff --git a/docs/README.md b/docs/README.md index 67d19195d..5a2f3c7a2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,7 +13,7 @@ yarn ### Local Development ```sh -yarn start +task docsite ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. @@ -21,7 +21,7 @@ This command starts a local development server and opens up a browser window. Mo ### Build ```sh -yarn build +task docsite:build: ``` This command generates static content into the `build` directory and can be served using any static contents hosting service.