mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-01 18:28:59 +01:00
add aliases for electron:dev, electron:start, and docsite:start tasks (#1651)
This commit is contained in:
parent
0890475a60
commit
cb2cd72cd4
4
BUILD.md
4
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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:<embedded,public>
|
||||
```
|
||||
|
||||
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
||||
|
Loading…
Reference in New Issue
Block a user