Skip to content

fs.watch silently fails if passed a directory with a trailing slash #302

@rntz

Description

@rntz
from talon import fs
import os

fs.watch(os.path.expanduser("~/example1/"), print)
fs.watch(os.path.expanduser("~/example2"), print)

Only events from ~/example2 will be reported.

Talon v0.1.5-201-gb45d, Ubuntu 20.04.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions