Commit Graph
23 Commits
Author SHA1 Message Date
Evan Almloff 51f342417a add examples to the default watch path 2023-10-30 14:41:41 -05:00
Sridhar RatnakumarandEvan Almloff 0d7bc86250 cli: Log connection errors during dx serve in desktop apps (#1515)
* cli: Log connection errors during `dx serve` in desktop apps

* add a note about the dioxus CLI

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-10-09 07:56:23 -05:00
Leonard 459f24d5e9 Clarify where serve warnings come from (#1524) 2023-10-05 13:05:14 -05:00
Evan Almloff 49a127b31e deduplicate serve code with hot reloading in the CLI crate 2023-09-09 16:18:52 -05:00
ealmloff d5d974d5a3 Bump the dioxus-cli to 0.4.1 (#1424)
* bump the dioxus-cli version

* bump DIOXUS_CLI_VERSION constant

* Merge branch 'master' into bump-cli
2023-09-04 15:10:27 -05:00
YuKun LiuandEvan Almloff 2cfa0e4ea9 fix: prettier_build unavailabe (#1410)
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-02 18:31:34 -05:00
Vinicius Gobbo Antunes de Oliveira fa39408d58 If mkcert not enabled, require cert_path and key_path to be specified or error. (#1342) 2023-08-17 07:58:56 -05:00
Brian Donovan 6d154b5072 Minor Proxy Improvements (#1289)
* fix(serve): provide a clear error with pathless proxy URLs

Without this, `dx serve` panics with this message:

```
Paths must start with a `/`. Use "/" for
 root routes
 ```

 That's not very clear. Instead, we can detect this situation and provide a better error message:

```
Error: 🚫 Serving project failed: Failed to establish proxy: Proxy backend URL must have a non-empty path, e.g. http://localhost:8080/api instead of http://localhost:8080
```

* docs(config): correct format for `web.proxy`
2023-08-04 13:44:56 -05:00
Jonathan Kelley 90d23714da Fix clippy around pathbuf 2023-07-19 13:44:38 -07:00
Evan Almloff f3b3c0698b fix clippy 2023-07-18 12:43:02 -07:00
Evan Almloff 4a0869de7b cargo fix 2023-07-18 12:41:48 -07:00
Evan Almloff 98e2b4acbd fix normal desktop serve 2023-07-18 12:40:47 -07:00
Evan Almloff 2c1c147828 fix desktop hot reloading 2023-07-18 11:55:56 -07:00
Evan Almloff 0c5025ffa0 WIP desktop serve hot reload 2023-07-18 10:24:29 -07:00
Miles Murgaw 120fccc53d fix: full & hot reload 2023-07-12 02:09:13 -04:00
Miles Murgaw 5bc9e4556b feat: custom mkcert paths 2023-07-11 23:01:37 -04:00
Miles Murgaw d83b00ff0f feat: mkcert 2023-07-11 16:38:34 -04:00
Miles Murgaw ffb056798a revision: organize 2023-07-11 15:51:56 -04:00
Miles Murgaw db93252faf feat: cli use local certificate 2023-07-11 00:25:16 -04:00
Jonathan Kelley 9fe7dc9b91 clippy 2023-07-07 18:28:07 -07:00
Jonathan Kelley 3f74b10e7c Feat: add dx as a package and move plugin to feature 2023-07-07 18:17:42 -07:00
Miles Murgaw 2c8c601579 fix: clippy 2023-06-30 10:48:38 -04:00
Jonathan Kelley a9d7b4d32a Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00