Workspace 6.21.5
FileWatcher

This operation watches for any modifications of a file whose name is given in input. If the file is created, deleted or edited, the operation will set itself and its output to not up-to-date. This is supposed to trigger its re-execution and that of the downstream operations. If the file name in input is a directory then this operation will watch for any modifications made to that directory, including its creation, deletion and the creation and deletion of files or subdirectories in that directory. Note however that editing an existing file in the directory is not considered a modification of the directory itself, hence no trigger in this case.

  • Default label: "Watch file for modifications"
  • Member of plug-in: Built-in
  • Catalogue path: Builtin/System
Inputs:
File nameQString

Refresh rateDeprecatedint

This input is no longer needed. The FileWatcher operation is now using QFileSystemWatcher instead of a QTimer to watch for any change in a file.

Outputs:
File nameQString