dartfswatch

Trouble Installing fswatch for Dart Project on Windows


I'm currently working on a Dart project on Windows and I'm trying to integrate fswatch for file system monitoring. However, I'm encountering some difficulties with the installation process as there seems to be a lack of clear documentation specifically for Windows users, especially for beginners like myself.

Could someone please provide clear, step-by-step instructions on how to properly install fswatch for a Dart project on Windows? Additionally, any tips or insights on potential pitfalls to watch out for during the installation process would be greatly appreciated.

Thank you in advance for your help!

I've attempted to install fswatch using various methods, including using package managers as well as trying manual installations from source. However, none of these methods have been successful so far.


Solution

  • Refer fswatch Documentation :

    Follow these steps

    1. Download the zip file from https://emcrisostomo.github.io/fswatch/

    2. Extract this zip file

    3. Open Cygwin and move to the Directory folder Example :

      cd /cygdrive/c/folder

    4. Run the Build Commands:

    5. After navigating to the correct directory and ensuring you have all necessary tools, run the build commands:

      ./autogen.sh
      ./configure
      make
      make install
      

    Hope this works!