Skip to content

Commit

Permalink
Fix tauri android dev
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Oct 16, 2024
1 parent 2b98a90 commit bb40968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/tauri-plugin-holochain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ async fn launch_and_setup_holochain<R: Runtime>(

let holochain_runtime = launch_holochain_runtime(passphrase, config).await?;

#[cfg(desktop)]
if tauri::is_dev() {
create_hc_live_file(holochain_runtime.admin_port)?;

Expand Down
2 changes: 1 addition & 1 deletion examples/end-user-happ/ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineConfig(async () => ({
server: {
port: 1420,
strictPort: true,
host: host || false,
host: "0.0.0.0" || false,
hmr: host
? {
protocol: "ws",
Expand Down

0 comments on commit bb40968

Please sign in to comment.