Commit Graph
34 Commits
Author SHA1 Message Date
Evan Almloff 2a764aaf6a remove some unused CLI imports 2023-12-17 15:42:58 -06:00
Evan Almloff e7515d18c1 show multiple different error messages in hot reloading 2023-12-17 15:39:48 -06:00
Exotik850 cf413780c1 Make hot reload error only show once (#1725) 2023-12-17 15:26:40 -06:00
Jonathan Kelley fe7df0c6a5 Merge pull request #1697 from ealmloff/hot-reload-temp-dir 2023-12-07 09:18:10 -08:00
Evan Almloff 9a13df2c73 move hot reload socket into the target directory 2023-12-07 07:00:59 -06:00
Jonathan Kelley edebe5be4a Merge pull request #1653 from ealmloff/fix-hot-reload-missing-items
Fix missing items in hot reloading diffing
2023-12-06 21:38:36 -08:00
Evan Almloff b965fc23e9 use a temp directory for the hot reloading pipe on desktop, fullstack and liveview 2023-12-06 17:01:51 -06:00
Felix F Xuandealmloff d404ddfccf fix false notification/rebuild for dx hot-reload (#1684)
* fix false notification/rebuild for dx hot-reload

* Make sure we have permissions and the changed file exists before reading the metadata

---------

Co-authored-by: ealmloff <evanalmloff@gmail.com>
2023-12-03 20:02:30 -06:00
Felix F Xu a2ca1760c9 Set local_socket_stream to blocking (default) (#1682) 2023-12-02 19:25:27 -06:00
Evan Almloff 8cf8f66c27 add more logging to desktop hot reloading 2023-11-20 09:47:03 -06:00
Evan Almloff 0ee21dff1e fix missing item in hot reloading diffing 2023-11-20 09:33:39 -06:00
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