Commit Graph
275 Commits
Author SHA1 Message Date
Miles Murgaw acbf7dfc4f fix: hot reload blocking (#2127) 2024-03-22 14:36:49 -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 25844ae9d3 Fix: make clippy happy, don't set asset dir env 2024-03-15 00:07:33 -07:00
Jonathan Kelley 9474ad54cc Make clippy happy 2024-03-14 22:40:23 -07:00
Jonathan Kelley efb21b24ca Log watched dirs in status console 2024-03-14 09:20:51 -07:00
Jonathan Kelley bb8b4dc2fb FIx:
- asset hotreloading for desktop,
- asset dir for dxserve on desktop,
- extend features with platform
2024-03-13 17:15:49 -07:00
Jonathan Kelley 3d699e7a75 Match on more places for asset reloading 2024-03-13 15:10:44 -07:00
Jonathan Kelley 8d8e7edb82 Clean up reloader 2024-03-13 14:36:56 -07:00
Jonathan Kelley 1bdc9d132e Load tracked assets 2024-03-13 14:35:28 -07:00
Jonathan Kelley 982b96074a Add basic hotreload test samples 2024-03-13 13:07:15 -07:00
Jonathan Kelley bca5335f31 fix: hotreloading files with multiple templates, asset hotreloading 2024-03-13 02:13:37 -07:00
Jonathan Kelley 05476cad76 Merge branch 'main' into jk/fix-hotreloading-issues 2024-03-12 14:38:36 -07:00
Evan Almloff 82ab212414 don't quit serving early if builds fail 2024-03-12 16:37:20 -05:00
Jonathan Kelley ad7a350d2e fix hotreloading issues in the CLI 2024-03-12 13:39:42 -07:00
Evan Almloff 6b84f284c9 fix manganis assets overlapping between examples 2024-03-11 17:11:52 -05:00
JeremyChenandJeremy Chen 70f97ec787 enhance: avoid failed hot-reload if backup file like .rs~ generate (#2048)
(cherry picked from commit 8565bca11b72b09d598bbbc9bb2ba77bab262db5)

Co-authored-by: Jeremy Chen <jeremychen@djeremychen.com>
2024-03-11 09:30:25 -05:00
Robin Tretter 8eda67ecb2 added hot-reload as config option with default to true (#2024) 2024-03-08 14:54:03 -06:00
rtretter 3ffb1facf3 search for first valid platform in features 2024-03-06 21:38:11 +01:00
rtretter f62c81ea0d added automatic platform detection to cli if none is passed 2024-03-06 21:16:51 +01:00
Jonathan Kelley be29c1fdaa chore: move all packages onto workspace versions 2024-02-21 14:30:13 -08:00
Evan Almloff c4a4a31eec Merge branch 'master' into pr/atty303/1948 2024-02-19 08:35:31 -06:00
Jonathan Kelley ebdb98bff2 Make clippy happy, pass tests 2024-02-18 21:08:48 -08:00
Jonathan Kelley d732269b8f backend proxy tests almost work! 2024-02-18 09:45:27 -08:00
Evan Almloff e7d8a25d17 get the dioxus CLI compiling 2024-02-16 14:55:44 -06:00
Koji AGAWA 1f0e03ca19 feat(fullstack): support wasm target 2024-02-17 05:12:33 +09:00
Evan Almloff 194d90e66f fix a few CLI errors 2024-02-16 12:39:36 -06:00
Jonathan Kelley 2763adb2d3 clean up workflow, fix some more axum stuff 2024-02-15 19:03:46 -08:00
Jonathan Kelley 64a321eacc Get more axum stuff upgraded to 0.7 2024-02-15 18:59:57 -08:00
Jonathan Kelley 214a907adc Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Evan Almloff f4651cecb8 Merge pull request #1916 from DogeDark/master
Add Prerelease Doc Generation
2024-02-09 12:45:59 -06:00
Evan Almloff b4d17abfc1 document all features 2024-02-09 12:15:59 -06:00
Evan Almloff d1ed15c2ac fix autofmt tests 2024-02-08 10:13:57 -06:00
Evan Almloff 23e15ee9c8 change rustfmt flag to all_code now that we don't use rustfmt 2024-02-08 10:03:52 -06:00
Evan Almloff b88c66d8df report syn parse errors to the user 2024-02-08 10:00:25 -06:00
Evan Almloff 65d4f922b4 Merge branch 'master' into pr/Dangerised/1902 2024-02-08 09:41:08 -06:00
Dangerise c89a4b37dc remove the link in comment and unused error variant 2024-02-07 22:35:55 +08:00
Evan Almloff 3270f7341a fix manganis support for dioxus desktop 2024-02-06 11:39:30 -06:00
Evan Almloff 1909b05412 Merge branch 'master' into pr/Andrew15-5/1903 2024-02-06 10:28:49 -06:00
Evan Almloff 7f32809a96 use out_dir in a few more places 2024-02-06 10:27:26 -06:00
Dangerise 82fc7acaa5 remove debug print 2024-02-06 21:04:37 +08:00
Dangerise 71125c22e0 remove unused import 2024-02-06 21:03:04 +08:00
Dangerise d170304a59 remove dead code 2024-02-06 21:01:33 +08:00
Dangerise 192fa3471b clippy fix 2024-02-06 20:56:12 +08:00
Dangerise f40e2f3cef replace gitignore with ignore 2024-02-06 20:53:28 +08:00
Jonathan Kelley 4f8868d43d Merge pull request #1791 from ealmloff/breaking
Remove scope, use_state, use_ref, bump allocator and make everything 'static
2024-02-05 14:19:47 -08:00
Andrew Voynov ea9622a75c fix(serve): fixed long rebuilds with dx serve 2024-02-06 00:27:45 +03:00
Evan Almloff 417cea7569 Merge pull request #1898 from Andrew15-5/fix-fullstack-cli-build
Now fullstack client uses correct config via `dx build`
2024-02-05 09:28:45 -06:00
Dangerise 2eec2bc673 add rustfmt support 2024-02-05 21:51:49 +08:00