Unregister File Change Handler

Signature

bool unregisterFileChangeHandler(string filepath)

Description

Unregisters a file change handler for a specific file, preventing it from being executed in future occurrences of the file being changed.

Returns whether the operation was successful (true) or not (false).

Arguments

File Path

The path of the file that is monitored.

Experimental Version

If the file change handler was registered with the experimental version, it must be unregistered the same way, using experimental.unregisterFileChangeHandler rather than event.unregisterFileChangeHandler.

Notes

Only the script that registered the file change handler can unregister it.

Last updated