Documentation ¶ Overview ¶ Package main shows you how you can execute commands on reload in this example we will execute a simple bat file on windows but you can pass anything, it just runs the `exec.Command` based on -onreload= flag's value. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.