Skip to content

Link.Notify

Adám Brudzewsky edited this page May 7, 2019 · 3 revisions

This function is used to bring an external change into the active workspace, even though synchronisation is not active. This is for example needed after pulling/updating a repository on other operating systems than Windows, since watch=both is not supported there yet. Notify tells the Link system that an external file has changed

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

Clone this wiki locally