Trigger sync command on file changes