watchFile

abstract fun watchFile(path: String, callback: FileWatcherCallback, pollingInterval: Double = definedExternally, options: WatchOptions = definedExternally): FileWatcher(source)

Used to watch changes in source files, missing files needed to update the program or config file