Files
firezone/rust/gui-client/dev.sh
Reactor Scram 4106419ef1 refactor: rename windows-client to gui-client (#3721)
This may cause conflicts with all my other PRs but it has to happen.

```[tasklist]
- [ ] Update test names in branch protection (I don't think I have perms for this)
```
2024-02-22 20:21:27 +00:00

25 lines
504 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
# Copy frontend dependencies
cp node_modules/flowbite/dist/flowbite.min.js src/
# Compile TypeScript
tsc --watch &
# Compile CSS
tailwindcss -i src/input.css -o src/output.css --watch &
# Start Tauri hot-reloading: Not applicable for Windows
# tauri dev