Commit Graph
55 Commits
Author SHA1 Message Date
Evan Almloff e464294c66 fix hot reload on windows (#2142) 2024-03-26 00:36:11 -07:00
Jonathan Kelley 6c9f991f0b hotfix: finding hotreload path fails when not running under cargo 2024-03-20 09:54:57 -07:00
Jonathan Kelley e923c6462c Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116)
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state

* Make clappy hippier

* remove console log

* use simpler css invalidator

* Less flash, remove log on web hotreload

* Fix floating window managed behavior on mac

* clippy...
2024-03-20 09:16:18 -07:00
Jonathan Kelley 10d361a44e Fix proxy (#2108) 2024-03-18 22:21:07 -07:00
Jonathan Kelley be00847199 Don't squawk when running under cargo 2024-03-17 21:15:57 -07:00
Jonathan Kelley 834d490beb Fix: #2095, #1990
- Don't merge dynamic attributes together unnecessarily
- Walk the workspace until we find a target dir with the dioxusin handle
2024-03-17 21:14:26 -07:00
Jonathan Kelley 25844ae9d3 Fix: make clippy happy, don't set asset dir env 2024-03-15 00:07:33 -07:00
Jonathan Kelley fe5fc1058e Fix: cargo running desktop shouldn't panic 2024-03-14 23:13:04 -07:00
Jonathan Kelley 6cc950eb9d Fix: on embedded hotreload don't watch target directory 2024-03-14 23:05:31 -07:00
Jonathan Kelley 3d699e7a75 Match on more places for asset reloading 2024-03-13 15:10:44 -07:00
Jonathan Kelley bca5335f31 fix: hotreloading files with multiple templates, asset hotreloading 2024-03-13 02:13:37 -07:00
Jonathan Kelley ad7a350d2e fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Jonathan Kelley 64a321eacc Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Evan Almloff 53380c9956 fix hot reload macro on unix 2024-01-25 09:24:03 -06:00
Evan Almloff f4af297777 merge upstream 2024-01-06 16:14:22 -06:00
Evan Almloff 3865f44081 make desktop compile 2024-01-05 14:39:45 -06:00
Evan Almloff 15dff7ad55 delete a leftover dioxusin file on all unix operating systems, not just mac 2023-12-30 11:58:09 -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
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
Evan Almloff 1c0b33cef4 fix hot reloading svg elements 2023-11-26 09:21:27 -06:00
Marc Espín 129d0a68ff feat: Optional web support for hot-reload crate (#1527)
* feat: Optional web support for hot-reload crate

* rename feature

* tweak

* tweak
2023-10-20 12:59:49 -05:00
Dylan Blokhuis 24df4e15d9 spelling (#1308) 2023-08-06 11:42:36 -05:00
Marc Espín 915e79e3be fix: Use correct cfg for file_watcher feature in dioxus-hot-reload (#1238)
* fix: Use correct cfg for file_watcher feature in dioxus-hot-reload

* Update file_watcher.rs

* Update lib.rs

* fmt
2023-07-23 09:29:59 -05:00
Evan Almloff 3d8d8a1b6f half-build-times 2023-07-19 10:19:23 -07:00
Jon Kelley 90f80e4dc2 Fix cargo doc by using a fixed variant of interprocess (#1129)
* fix docs compilation

* dont change random codeblock
2023-06-27 19:40:41 -05:00
Evan Almloff 60abafb381 fix macos hot reloading on forced exit 2023-06-02 10:30:40 -05:00
Evan Almloff 383e7e6a58 Use more precice timestamp in hot reloading 2023-05-19 12:33:07 -05:00
Evan Almloff 2c629f6d13 use namespaced path instead of local path 2023-02-23 12:05:17 -06:00
Evan Almloff c012855659 collect non-fatal errors in hot reloading 2023-02-22 09:18:12 -06:00
Evan Almloff 32dc68c539 hot reloading: filter intial read of files by excluded dirs 2023-02-09 16:37:12 -06:00
Anatolii Kurotych 624f32115b Fix release build (#802) 2023-01-27 20:07:00 -06:00
Evan Almloff 60219d3f65 formatting 2023-01-15 12:01:12 -06:00
Evan Almloff 418d8b1c30 clippy 2023-01-15 11:51:17 -06:00
Evan Almloff 893d0be1a6 add option to specify a callback to make using hot-reloading in a CLI easier 2023-01-15 11:29:51 -06:00
Evan Almloff 63840bcca4 pass clippy 2023-01-13 17:55:11 -06:00
Evan Almloff 80755e1d55 remove debug log 2023-01-13 17:32:31 -06:00
Evan Almloff 34c8ad8849 fix gitignore performance issues 2023-01-13 17:31:55 -06:00
Evan Almloff 31e21aaa79 change rebuild_handler to rebuild_command 2023-01-13 17:15:06 -06:00
Evan Almloff 22f86ed464 update docs 2023-01-13 16:57:27 -06:00
Evan Almloff d642e53a2b intigrate with .gitignore 2023-01-13 16:25:03 -06:00
Evan Almloff cc983dc091 rebuild when the cargo.toml changes 2023-01-13 16:17:25 -06:00
Evan Almloff b3d119b815 Provide option to do full rebuilds when nessisary 2023-01-13 16:13:07 -06:00
Evan Almloff 3c229b38bc make shutdown message more clear 2023-01-12 18:51:08 -06:00
Evan Almloff fc28050da6 pass clippy 2023-01-12 12:09:43 -06:00
Evan Almloff 97b9f422e1 log path errors 2023-01-12 11:10:16 -06:00
Evan Almloff 351b9fab6f allow custom namespaces 2023-01-12 10:52:24 -06:00
Evan Almloff 9be1df1451 allow disabling logging 2023-01-12 10:32:45 -06:00
Evan Almloff 82048737f4 fix the macro export and WIP hot reloading docs 2023-01-12 08:47:33 -06:00
Evan Almloff 19aaa0ee5b allow watching arbitrary paths 2023-01-11 21:06:00 -06:00