-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo leptos watch
ignores bin-target-tripple
#242
Comments
Setting |
The problem with this is that there is no native way to run a wasm server. We’d have to bundle wasmtime or washer, and so far no one has expressed interest in doing that
…On Sat, Jan 20, 2024, at 6:23 PM, Dylan R. Johnston wrote:
Setting `LEPTOS_BIN_TARGET_TRIPLE="wasm32-unknown-unknown"` works as expected however it then errors after compilation trying to watch `target/wasm32-unknown-unknown/debug/server` as it's missing the `.wasm` extension.
—
Reply to this email directly, view it on GitHub <#242 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABVBTCNNQ6JMN4RCT52MGC3YPR32JAVCNFSM6AAAAABCDT4LR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGQ4DCMJUGQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
One quick question... Are you using the right key name, because every time you mention it here, its mispelled.
|
Apologies @DanielJoyce, I can confirm I was using the |
@benwis what about a simple way to override the server command with an arbitrary command? That would let me launch |
When running
cargo leptos watch
building the server ignores thebin-target-tripple
configuration.I'm trying to explore if
cargo leptos watch
can integrate well with deploying to Cloudflare workers which is awasm32-unknown-unknown
target. Building works fine, but thewatch
subcommand ignores thebin-target-tripple
configuration option.The text was updated successfully, but these errors were encountered: