Skip to content

ziXiong/DirMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirMonitor

Set to monitor a directory, call a callback whenever file changed under this directory

Examples

from dirmonitor import DirMonitor

def callback(filepath):
    print(filepath + "has changed!")

monitor = DirMonitor(target="/var/www", callback=callback)
monitor.start()

About

Directory changing monitor written in python3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages