CompileDaemon
CompileDaemon copied to clipboard
Very simple compile daemon for Go
The following code displays "test" on the terminal when running my go module without CompileDaemon: `fmt.Fprintf(os.Stdout, "test")` When using CompileDaemon using the following command, there is not output on the...
When I run `CompileDaemon -exclude-dir=./container_data -exclude-dir=./.git -exclude-dir=./docker -exclude-dir=./migrations`, my go app (local webserver) doesn't seem to work. When I run `go run .` I get a macos firewall allow dialog....
I successfully ran CompileDaemon a month ago when I downloaded it, but now whenever I try to run it I get: ``` filepath.Walk():bad file descriptor ``` I've tried deleting the...
This PR allows user to pass input to the launched command via stdin. It gets a stdinPipe from the launched command and returns it from startCommand. Two goroutines are launched,...
In the command and I think the build although haven't tested If you have a space in the option it will fail to run. ``` CompileDaemon --build="go build -o program...
A single `-directory` flag assumes a specific project structure wherein the app entry point and all of its dependencies are accessible in a single directory tree. However, this is not...
When run with `-build=''`, the following error occurs: ``` 2021/01/10 16:51:52 Running build command! 2021/01/10 16:51:52 Error while building: ``` The following code in the `build()` function seems to be...
u@u-pc:~/Documents/Proyectos/GoApps$ go get github.com/githubnemo/CompileDaemon # cd /home/u/go/src/golang.org/x/sys; git pull --ff-only fatal: unable to open .git/objects/pack/tmp_pack_3iLUeQ: No such file or directory fatal: index-pack failed package golang.org/x/sys/unix: exit status 1
I'm setting up a project in Go following this guide https://levelup.gitconnected.com/how-to-live-reload-code-for-golang-and-docker-without-third-parties-ee90721ef641 , on Linux it works fine. Using it from mac when I change a file from my editor, the...
An environment variable was added with the file path that was modified, so that the user can use it in the commands. ```bash $ CompileDaemon --build="go build \$FILE" ``` In...