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
@@ -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
@@ -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<()> {
|
||||
|
||||
Reference in new issue
Block a user