Giter VIP home page Giter VIP logo

watch-detector's Issues

Move into ember-cli org?

This seems to be primarily created for ember-cli to use, and was an extraction of the detection logic from there I'd like to suggest moving the repo into the ember-cli org and adding a few more ember-cli contributors as npm owners.

@chrmod - What do you think?

expose possible watcher types

so the client can be sure what type was returned, for example:

  const detector = new WatchDetector(..);
  const watchPreference = detector.findBestWatcherOption({ watcher: options.watcher });
  const watcher = watchPreference.watcher;

  const saneOptions = {
    poll: watcher === WatchDetector.POLLING ,
    watchman: watcher === WatchDetector.WATCHMAN,
    node: watcher === WatchDetector.NODE,
  };

[bug] newer versions of watchman are not being used

Installing watchman via

brew install watchman

provides the new version of 20210328.072220.0. Which results in

Invalid watchman found, version: [20210328.072220.0] did not satisfy [>= 3.0.0].
Visit https://ember-cli.com/user-guide/#watchman for more info

Incorrect watchman version detection on mac os + brew

Getting error:

Invalid watchman found, version: [2021.08.02.00] did not satisfy [>= 3.0.0].
Visit https://ember-cli.com/user-guide/#watchman for more info.

How I install watchman?

brew install watchman
watchman -v   -> 2021.12.20.00

Initial npm release

  • move package under ember-cli or broccoli organization
  • enable travisci and appveyor
  • add README

Changes to local addon dependencies aren't detected when using newer versions of Watchman

prior art: #12

Use case: our developers occasionally make changes to our internal Ember Addons that are consumed by our host app, and they do so while running the host app's dev server instead of the addon's. This worked fine in Watchman v4.9.0, but the recent changes to the versioning format broke it and now changes to the addon do not trigger a rebuild of the host app.

Most of the semver-related issues were fixed in #13, but this one remained. Since that PR removed most of the version checks (and the corresponding test), I'm going to open a PR that finishes the job and removes the one remaining version check.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.