tauri_dev
Seto Elkahfi committed
Jun 18, 2024 at 23:04 UTC
51f99809185b9b068d156e4ffe057ce5005a75bf
2 files changed
+10
-3
BUILD.bazel
+3
-3
@@ -49,10 +49,10 @@ tauri_bin.tauri_binary(
49
50
js_run_devserver(
51
name = "tauri_dev",
52
- data = glob(["src-tauri/*"]) + [
52
+ data = [
53
"//:node_modules",
54
"//:next",
55
- ],
56
- command = "./node_modules/@tauri-apps/cli/tauri.js",
55
+ ] + glob(["src-tauri/*"]),
56
+ tool = ":tauri_binary",
57
args = ["dev"],
58
)
README.md
+7
@@ -46,3 +46,10 @@ You can retrieve the output app from `dist/bin/bundle.sh.runfiles/app/src-tauri/
46
## Credits
47
48
Original [repo](https://github.com/marmos91/tauri-bazel-next-typescript).
49
+
50
+## Without Bazel
51
+
52
+Run from pnpm
53
+```
54
+pnpm tauri dev
55
+```