From d0763b3ab0e4c508955de0d519cd4bef2f7df737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Mon, 23 Mar 2026 17:17:59 -0600 Subject: [PATCH] Bring back browser devtools in dev mode When we switched off debug-assertions in the backend it inadvertently also disabled browser devtools in the app. We need those in dev mode to debug things, this brings them back. --- crates/radicle-tauri/Cargo.toml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/radicle-tauri/Cargo.toml b/crates/radicle-tauri/Cargo.toml index 2040ebf64..b930243ae 100644 --- a/crates/radicle-tauri/Cargo.toml +++ b/crates/radicle-tauri/Cargo.toml @@ -45,3 +45,4 @@ default = ["custom-protocol"] # this feature is used for production builds where `devPath` points to the filesystem # DO NOT remove this custom-protocol = ["tauri/custom-protocol"] +devtools = ["tauri/devtools"] diff --git a/package.json b/package.json index b6202d1af..aab062228 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "type": "module", "scripts": { "start": "vite", - "dev": "npx tauri dev -- --profile dev-without-assertions", + "dev": "npx tauri dev -- --profile dev-without-assertions --features devtools", "start:http": "cargo run --manifest-path ./crates/test-http-api/Cargo.toml", "build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets", "build:http": "cargo build --manifest-path ./crates/test-http-api/Cargo.toml",