newFileSystemWatcher

Top  Previous  Next

Creates a new FileSystemWatcher object.

Definition

FileSystemWatcher = os.newFileSystemWatcher( )

 

Name

Type

Description

FileSystemWatcher

FileSystemWatcher Object

FileSystemWatcher return value object.

Example

fw = os.newFileSystemWatcher()

 

fw:add("c:\\")

fw:callback( function( event, path ) 

 

  print("File System Watcher ", event, path)

 

end)

 

Related

FileSystemWatcher Object

Availability

Lua