mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
b2b1f9b9df
This sets us back up to use Vite via the electron-vite package. This will let us continue to build our testing suite on Vitest and take advantage of Vite features like Hot Module Reloading, etc. --------- Co-authored-by: sawka <mike.sawka@gmail.com>
29 lines
424 B
Markdown
29 lines
424 B
Markdown
# The Next Wave
|
|
|
|
Prereqs:
|
|
|
|
You'll need to install "task" (which we're using as a build/run system):
|
|
|
|
```sh
|
|
brew install go-task
|
|
```
|
|
|
|
On first checkout:
|
|
|
|
```sh
|
|
yarn
|
|
go mod tidy
|
|
```
|
|
|
|
Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):
|
|
|
|
```sh
|
|
task electron:dev
|
|
```
|
|
|
|
To run the app without the dev server, run the following instead:
|
|
|
|
```sh
|
|
task electron:start
|
|
```
|