Yuari
Documentation
Docs/DirectoryWatcher/DirectoryWatcher.start

DirectoryWatcher.start

Starts monitoring the watched folder.

Syntax

DirectoryWatcher.start(watcher: any) -> nil

Parameters

ParameterTypeDescription
watcheranyThe watcher value used by the call.

Returns

TypeDescription
nilThis function does not return a value.

Description

DirectoryWatcher.start is part of the DirectoryWatcher library. Win32 directory monitoring for folders inside the Yuari workspace.

The operation is performed immediately using the arguments supplied at the call site.

Example

watcher:start()

Notes

  • Only folders inside the Yuari workspace can be watched; stop watchers when they are no longer needed.