mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
We already use `vite` as a bundling tool but only to rollup some of the pre-built files. This setup (and therefore our buildscripts) can be massively simplified by instructing `vite` to also build our TypeScript code and compile tailwind. This makes it much easier to develop locally because one only needs to run `pnpm vite build --watch` to keep everything up to date.
16 lines
313 B
Bash
Executable File
16 lines
313 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# The Windows client obviously doesn't build for *nix, but this
|
|
# script is helpful for doing UI work on those platforms for the
|
|
# Windows client.
|
|
set -e
|
|
|
|
# Fixes exiting with Ctrl-C
|
|
stop() {
|
|
kill "$(jobs -p)"
|
|
}
|
|
trap stop INT TERM
|
|
|
|
# Start Tauri hot-reloading: Not applicable for Windows
|
|
tauri dev
|