Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsTempPatterns ¶
func ShouldIgnoreEvent ¶
func ShouldTriggerRestart ¶
Types ¶
type WatchFiles ¶
func (*WatchFiles) EnoughTimeSinceLastRestart ¶
func (w *WatchFiles) EnoughTimeSinceLastRestart(lastRestartTime time.Time) bool
EnoughTimeSinceLastRestart checks if enough time has passed since the last restart.
func (*WatchFiles) FileChanges ¶
func (w *WatchFiles) FileChanges(restartChan <-chan bool)
FileChanges monitors file changes and restarts the application when necessary.
func (*WatchFiles) RestartApp ¶
func (w *WatchFiles) RestartApp()
RestartApp restarts the application.
Click to show internal directories.
Click to hide internal directories.