py-watchdog/watchmedo broken in FreeBSD?

I played with watchmedo and renamed files, I got no output. So I tried on my Raspberry, there it works:

Code:
weberjn@pi:~/watcht $ watchmedo shell-command --patterns='*.part' --command='echo "${watch_src_path} ${watch_dest_path}"'
./x.zip.part ./x.zip
./x.zip ./x.zip.part
./x.zip.part ./x.zip

On FreeBSD watchmedo outputs nothing.

(Python 3.7.9)

Can anybody confirm this?
 
There is no port named 'watchmedo' or anything similar. So how did you install it?

Edit: Apparently this is a tool that comes with devel/py-watchdog.
 
I installed it with pip

Code:
sudo python3 -m pip install -U watchdog
sudo python3 -m pip install -U 'watchdog[watchmedo]'

So, if there is a problem, it should be within python.

Sorry for the missing info.
 
Back
Top