Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into avery/fix-dev-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleymichal authored May 7, 2020
2 parents 02a42ea + ead7078 commit e4d530e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
File renamed without changes.
6 changes: 4 additions & 2 deletions src/commands/build/wranglerjs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mod bundle;
mod guarded_command;
pub mod output;

pub use bundle::Bundle;
Expand All @@ -25,7 +26,8 @@ use crate::install;
use crate::settings::toml::Target;
use crate::terminal::message;
use crate::upload::package::Package;
use crate::util;

use guarded_command::GuardedCommand;

// Run the underlying {wranglerjs} executable.

Expand Down Expand Up @@ -64,7 +66,7 @@ pub fn run_build_and_watch(target: &Target, tx: Option<Sender<()>>) -> Result<()

// Turbofish the result of the closure so we can use ?
thread::spawn::<_, Result<(), failure::Error>>(move || {
let _command_guard = util::GuardedCommand::spawn(command);
let _command_guard = GuardedCommand::spawn(command);

let (watcher_tx, watcher_rx) = channel();
let mut watcher = notify::watcher(watcher_tx, Duration::from_secs(1))?;
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ pub mod installer;
pub mod settings;
pub mod terminal;
pub mod upload;
pub mod util;

0 comments on commit e4d530e

Please sign in to comment.