Constructor ConfigFileWatcher
| Edit this page View SourceConfigFileWatcher(ConfigFile, long)
Create a file watcher to trigger reloads of the config file when it is changed, created, or renamed.
Declaration
public ConfigFileWatcher(ConfigFile configFile, long reloadDelay = 1000)
Parameters
| Type | Name | Description |
|---|---|---|
| ConfigFile | configFile | |
| long | reloadDelay | Time in milliseconds before another event can be fired. |