Filtering can be done by changing to regex mode:
# Create a Watchdog on the folder
eh = RegexMatchingEventHandler([".*"], [".*~$"], False, False)
(pycharm creates temporary ~ files that confuse mpsync)
And it would be really helpfull if mpsync restarts your programma en opens a repl shell.
Whats the point of uploading files if i still have to ctr+c mpsync and manually start picocom (or another terminal)?