Skip to content
#

watcher

Here are 327 public repositories matching this topic...

notify
pickfire
pickfire commented Feb 23, 2020

Since there can only be one RecommendedWatcher, why do we still need to explicitly specify the type? Taken from the new docs.

use notify::{Watcher, RecommendedWatcher, RecursiveMode, Result};

fn main() -> Result<()> {
    // Automatically select the best implementation for your platform.
    let mut watcher: RecommendedWatcher = Watcher::new_immediate(|res| {
        match res 
denon
Tsourdox
Tsourdox commented May 29, 2020

Not sure if this is the correct way to do it, but I wanted to save a cache script I could easily run.

"cache": {
      "desc": "Cache versions and update lock file",
      "cmd": "deno cache server.ts --lock-write",
      "lock": "./lock.json"
}

The result however when running denon cache is an endless loop instead of just executing it once, looks like this:

![Skärmavbild

MaxDesiatov
MaxDesiatov commented Jan 1, 2021

In addition to defaultBrowser we should add chrome, safari, firefox, and edge as possible arguments passed to carton test --environment. This would allow testing with an arbitrary browser, not just default browser. carton test should check if a given browser is available before attempting to launch it, and display an appropriate error message if a given browser is absent.

Improve this page

Add a description, image, and links to the watcher topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the watcher topic, visit your repo's landing page and select "manage topics."

Learn more