You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the same error on windows , which was due to the package not being able to find the correct path when using the daemon and SIGTERM. Using the full path resolved the issue for me. You might try the following:
this is my modd.conf
**/*.go {
prep: go test @dirmods
}
**/*.go {
prep: go build -o lenslocked .
daemon +sigterm: ./lenslocked
}
and this is my main.go
package main
import (
"fmt"
"net/http"
)
func handlerFunc(w http.ResponseWriter, r *http.Request) {
}
func main() {
http.HandleFunc("/", handlerFunc)
fmt.Println("starting on :3000...")
http.ListenAndServe(":3000", nil)
}
The text was updated successfully, but these errors were encountered: