GithubHelp home page GithubHelp logo

Comments (5)

sunshowers avatar sunshowers commented on April 26, 2024

Is watchman in your PATH? watchman expects to be in your PATH.

from watchman.

aldeka avatar aldeka commented on April 26, 2024

As you can see in the Makefile, I call watchman with an absolute path.

from watchman.

sunshowers avatar sunshowers commented on April 26, 2024

Right -- that might or might not work. In any case it is not currently a supported configuration. Please add watchman to your PATH and try again.

Should it be supported? Maybe, though it makes some things related to daemonization trickier if I remember correctly. Patches are welcome.

from watchman.

aldeka avatar aldeka commented on April 26, 2024

Okay! The other command-line commands work by calling it directly, fwiw, but maybe triggers don't.

Just added watchman to my PATH; I can successfully call e.g. watchman trigger-list $(args) on the command line now. make watch still doesn't do anything.

from watchman.

aldeka avatar aldeka commented on April 26, 2024

Okay, I had to lsof | grep watchman | grep log to find the logs, and delete my .watchman.$(user).state file at least once, and I still can't get it working with both the *.js and *.less patterns on the same line... but I'll quit while I'm ahead!

Key findings: script calls need absolute paths, and it's easiest if you call the trigger on the directory that has the Makefile inside of it. Possible that putting watchman on my PATH also helped!

I'll update the gist with the changes.

from watchman.

Related Issues (20)

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.