wip: bump versions

This commit is contained in:
Jonathan Kelley committed 2021-09-23 13:33:22 -04:00
1 parent 7a67964a2f
commit e2a4efeb9e
3 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -11,13 +11,13 @@ description = "CLI tool for developing, testing, and publishing Dioxus apps"
[dependencies]
thiserror = "1.0.23"
log = "0.4.13"
fern = { version="0.6.0", features=["colored"] }
wasm-bindgen-cli-support = "0.2.73"
fern = { version = "0.6.0", features = ["colored"] }
wasm-bindgen-cli-support = "0.2.78"
anyhow = "1.0.38"
argh = "0.1.4"
serde = "1.0.120"
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"
fs_extra = "1.2.0"
+3 -3
View File
@@ -40,7 +40,7 @@ async fn watch_directory(config: Config) -> Result<()> {
// Automatically select the best implementation for your platform.
// 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));
})
.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
// below will be monitored for changes.
watcher
.watch(src_dir.join("src"), RecursiveMode::Recursive)
.watch(&src_dir.join("src"), RecursiveMode::Recursive)
.expect("Failed to watch dir");
watcher
.watch(src_dir.join("examples"), RecursiveMode::Recursive)
.watch(&src_dir.join("examples"), RecursiveMode::Recursive)
.expect("Failed to watch dir");
let build_config = BuildConfig::default();
+2 -2
View File
@@ -1,5 +1,5 @@
use diopack::cli::{LaunchCommand, LaunchOptions};
use dioxus_cli as diopack;
use dioxus_studio as diopack;
use dioxus_studio::cli::{LaunchCommand, LaunchOptions};
#[async_std::main]
async fn main() -> diopack::error::Result<()> {