DioxusLabs / DioxusLabs/dioxus

Consider renaming @server and @client for windows compatability

Open
#5,115 1 comment 0 reactions 0 assignees View on GitHub
cli windows
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

# Issue

The CLI currently accepts `@` arguments to pass different args to different builds. Unfortunately, `@` has a special meaning in powershell on windows which can result in some confusing errors. On windows, it can also mean [splatting](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.5)

We could use another symbol like `?`.

## Workarounds

If you find this issue after running into the above error, surrounding `@server` or `@client` in quotes fixes the issue:
```sh
dx serve "@server" --server
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.