Metadata-Version: 2.0
Name: cqh-file-watcher
Version: 0.0.22
Summary: tools like vscode file-watcher but for command only
Home-page: https://github.com/chen19901225/cqh_file_watcher
Author: chenqinghe
Author-email: 1832866299@qq.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Requires-Python: >=3.6
Requires-Dist: pyinotify

cqh_file_watcher
=============================================

something like `File-Watcher` for vscode


Usage
-------------------------------------------------


``cqh-file-watcher -c ***.conf``

conf example
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. code-block::

    {"command_list":[
        {
            "pattern": "*.py",
            "command": "sudo supervisorctl restart redis"
        },
        {
            "command": "echo things changed"
        }
    ]
    "directory": "/home/vagrant/code/code1"
    }


