wip: bump versions
This commit is contained in:
1 parent
7a67964a2f
commit
e2a4efeb9e
3 files changed
+8
-8
No files matched your search
+3
-3
@@ -11,13 +11,13 @@ description = "CLI tool for developing, testing, and publishing Dioxus apps"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
thiserror = "1.0.23"
|
thiserror = "1.0.23"
|
||||||
log = "0.4.13"
|
log = "0.4.13"
|
||||||
fern = { version="0.6.0", features=["colored"] }
|
fern = { version = "0.6.0", features = ["colored"] }
|
||||||
wasm-bindgen-cli-support = "0.2.73"
|
wasm-bindgen-cli-support = "0.2.78"
|
||||||
anyhow = "1.0.38"
|
anyhow = "1.0.38"
|
||||||
argh = "0.1.4"
|
argh = "0.1.4"
|
||||||
serde = "1.0.120"
|
serde = "1.0.120"
|
||||||
serde_json = "1.0.61"
|
serde_json = "1.0.61"
|
||||||
async-std = { version="1.9.0", features=["attributes"] }
|
async-std = { version = "1.9.0", features = ["attributes"] }
|
||||||
tide = "0.15.0"
|
tide = "0.15.0"
|
||||||
fs_extra = "1.2.0"
|
fs_extra = "1.2.0"
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -40,7 +40,7 @@ async fn watch_directory(config: Config) -> Result<()> {
|
|||||||
|
|
||||||
// Automatically select the best implementation for your platform.
|
// Automatically select the best implementation for your platform.
|
||||||
// You can also access each implementation directly e.g. INotifyWatcher.
|
// You can also access each implementation directly e.g. INotifyWatcher.
|
||||||
let mut watcher: RecommendedWatcher = Watcher::new_immediate(move |res| {
|
let mut watcher: RecommendedWatcher = Watcher::new(move |res| {
|
||||||
async_std::task::block_on(watcher_tx.send(res));
|
async_std::task::block_on(watcher_tx.send(res));
|
||||||
})
|
})
|
||||||
.expect("failed to make watcher");
|
.expect("failed to make watcher");
|
||||||
@@ -50,11 +50,11 @@ async fn watch_directory(config: Config) -> Result<()> {
|
|||||||
// Add a path to be watched. All files and directories at that path and
|
// Add a path to be watched. All files and directories at that path and
|
||||||
// below will be monitored for changes.
|
// below will be monitored for changes.
|
||||||
watcher
|
watcher
|
||||||
.watch(src_dir.join("src"), RecursiveMode::Recursive)
|
.watch(&src_dir.join("src"), RecursiveMode::Recursive)
|
||||||
.expect("Failed to watch dir");
|
.expect("Failed to watch dir");
|
||||||
|
|
||||||
watcher
|
watcher
|
||||||
.watch(src_dir.join("examples"), RecursiveMode::Recursive)
|
.watch(&src_dir.join("examples"), RecursiveMode::Recursive)
|
||||||
.expect("Failed to watch dir");
|
.expect("Failed to watch dir");
|
||||||
|
|
||||||
let build_config = BuildConfig::default();
|
let build_config = BuildConfig::default();
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
use diopack::cli::{LaunchCommand, LaunchOptions};
|
use dioxus_studio as diopack;
|
||||||
use dioxus_cli as diopack;
|
use dioxus_studio::cli::{LaunchCommand, LaunchOptions};
|
||||||
|
|
||||||
#[async_std::main]
|
#[async_std::main]
|
||||||
async fn main() -> diopack::error::Result<()> {
|
async fn main() -> diopack::error::Result<()> {
|
||||||
|
|||||||
Reference in new issue
Block a user