Sublime Forum

Callback files\folders were changed under Sublime project

#1

What’s the right way to check for changes in the project (file or folder was added\deleted)?
Can’t find any appropriate function in API. Constant polling, like os.walk(project_root), every 1-5sec in alternate thread is rather CPU hungry.

0 Likes

#2

Notify when a file/folder is created/changes/reloads/disapears, even if not opened #626
github.com/SublimeTextIssues/Core/issues/626

“on_reload” addition #9
github.com/SublimeTextIssues/Core/issues/9

0 Likes