Files
firezone/rust/gui-client/dev.sh
Thomas Eizinger d16ffe5f0f chore(gui-client): make better use of vite as a bundler (#9148)
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.
2025-05-15 04:06:03 +00:00

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