tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[docs] differences in dev and bundle, running an exec process

Open gregpalaci opened this issue 3 years ago • 0 comments

Very cool library I just wrote a post looking at similar

Looking at the docs I can't find a difference with dev and bundle for running a bundled binary like:

"build": {
    "distDir": ".",
    "devPath": "http://localhost:3666",
    "beforeDevCommand": "vue ui --headless --port 3666",
    "beforeBuildCommand": "vue ui --headless --port 3666"
  },

The dev works fine but the release hangs, I'm assuming it''s waiting for the server to exit. Do I need to include it as an "externalBinary" instead or run it as a spawned exec process? I'm not Rust savy, more node.js hopefully this isnt a stupid question.

Thanks!

gregpalaci avatar Jul 19 '20 19:07 gregpalaci