https://github.com/instantan/watcher
File system watching and hotreloading
https://github.com/instantan/watcher
Last synced: 8 months ago
JSON representation
File system watching and hotreloading
- Host: GitHub
- URL: https://github.com/instantan/watcher
- Owner: Instantan
- Created: 2023-06-06T18:05:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T18:44:47.000Z (almost 3 years ago)
- Last Synced: 2025-03-16T09:13:13.701Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# watcher
> File system watching and hotreloading
## Simple hot reloading for your go application
> main.go
```go
package main
import (
"fmt"
"github.com/Instantan/watcher"
)
func main() {
watcher.HotReload()
fmt.Printf("Started")
<-make(chan struct{})
}
```