Comments (3)
Can you show me the error you are getting?
from compiledaemon.
2019/09/25 14:48:20 stderr: Specified file name && does not exist.
2019/09/25 14:48:20 stderr: Specified file name go does not exist.
2019/09/25 14:48:20 stderr: Specified file name run does not exist.
2019/09/25 14:48:20 stderr: fuser: Invalid option --server_address
2019/09/25 14:48:20 stderr: Usage: fuser [-fIMuvw] [-a|-s] [-4|-6] [-c|-m|-n SPACE]
2019/09/25 14:48:20 stderr: [-k [-i] [-SIGNAL]] NAME...
2019/09/25 14:48:20 stderr: fuser -l
2019/09/25 14:48:20 stderr: fuser -V
2019/09/25 14:48:20 stderr: Show which processes use the named files, sockets, or filesystems.
2019/09/25 14:48:20 stderr:
2019/09/25 14:48:20 stderr: -a,--all display unused files too
2019/09/25 14:48:20 stderr: -i,--interactive ask before killing (ignored without -k)
2019/09/25 14:48:20 stderr: -I,--inode use always inodes to compare files
2019/09/25 14:48:20 stderr: -k,--kill kill processes accessing the named file
2019/09/25 14:48:20 stderr: -l,--list-signals list available signal names
2019/09/25 14:48:20 stderr: -m,--mount show all processes using the named filesystems or
2019/09/25 14:48:20 stderr: block device
2019/09/25 14:48:20 stderr: -M,--ismountpoint fulfill request only if NAME is a mount point
2019/09/25 14:48:20 stderr: -n,--namespace SPACE search in this name space (file, udp, or tcp)
2019/09/25 14:48:20 stderr: -s,--silent silent operation
2019/09/25 14:48:20 stderr: -SIGNAL send this signal instead of SIGKILL
2019/09/25 14:48:20 stderr: -u,--user display user IDs
2019/09/25 14:48:20 stderr: -v,--verbose verbose output
2019/09/25 14:48:20 stderr: -w,--writeonly kill only processes with write access
2019/09/25 14:48:20 stderr: -V,--version display version information
2019/09/25 14:48:20 stderr: -4,--ipv4 search IPv4 sockets only
2019/09/25 14:48:20 stderr: -6,--ipv6 search IPv6 sockets only
2019/09/25 14:48:20 stderr: - reset options
2019/09/25 14:48:20 stderr:
2019/09/25 14:48:20 stderr: udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]
from compiledaemon.
The error was that CompileDaemon does not support (ba)sh command chaining. You have to run it in a shell or as a script.
For example:
CompileDaemon -command='/bin/sh -c "fuser 50052/tcp && go run main.go --server_address :50052"'
from compiledaemon.
Related Issues (20)
- Use CompileDaemon with go generate? HOT 4
- Latest commit tag not included in master
- include multiple directories HOT 2
- Terminate the program if a build fails
- Restart the program if it fails HOT 2
- Docker + Go 1.18 = /bin/sh: CompileDaemon: not found HOT 2
- package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname) HOT 2
- Install for go 1.18+ HOT 10
- CompileDeamon not found golang 1.18 HOT 10
- "CompileDaemon": executable file not found in $PATH: unknown HOT 2
- Docker - File Changes not being Acknowledged
- Security Best Practice HOT 1
- 1.19 "stuck" on Build ok. HOT 3
- Support go.work
- Could not start command: can't start command: fork/exec ~/directory/to/go-project: no such file or directory HOT 1
- Go does not rebuild when .env file is changed
- Docker MacOS no rebuilding even with pulling on HOT 2
- error obtaining VCS status: exit status 128 HOT 1
- CompileDaemon did not install with vendor directory HOT 1
- Not detecting changes with Docker running on Windows with Linux containers in WSL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compiledaemon.