Skip to content

Link.Notify

Morten Kromberg edited this page May 9, 2019 · 3 revisions

When synchonisation is active, Link will call Notify each time it detects a change to a linked source file. If synchronisation is not enabled, you can use this function to bring an external change into the active workspace, to notify the link system that an external file has changed.

Note: The Refresh function can be used to synchronise all extant changes between a linked directory and namespace.

Arguments

  • type of event that happened

    • 'created': new file
    • 'changed': update to existing file
    • 'renamed': a file or subdirectory got a new name
    • 'deleted': a file or directory was erased
  • path of affected file or directory

  • oldpath is the previous path

    can be omitted for all but a rename event

Result

An empty vector

Clone this wiki locally