Home

Awesome

watchdog module for Package Control

This is a mirror of the watchdog module, created for using it as dependency in Package Control for Sublime Text.

this repopypi
latest tagpypi

How to use

  1. Create a dependencies.json file in your package root with the following contents:

    {
       "*": {
          "*": [
             "pathtools",
             "watchdog"
          ]
       }
    }
    
  2. Run the Package Control: Satisfy Dependencies command via command palette

  3. Import as you usually do in stand-alone Python, e.g.

    from watchdog.observers import Observer
    from watchdog.events import FileSystemEventHandler
    
  4. Make sure to look at package_events, if you’re wondering about emitting and listening events.

See also: Documentation on Dependencies

License

Apache