go-watcher icon indicating copy to clipboard operation
go-watcher copied to clipboard

Add an option for sending SIGINT instead of SIGKILL

Open canthefason opened this issue 7 years ago • 2 comments

With each file change, we are sending SIGKILL command for killing the running process. The problem is, it would leave some open connections behind. For the programs that require graceful shutdowns, it is better to have an optional SIGINT support for go-watcher.

canthefason avatar Nov 06 '16 23:11 canthefason

CLI argument for the binary, ENV variable for the Docker ( which will be then passed as CLI argument ), is my proposal. What do you think?

julianxhokaxhiu avatar Nov 09 '16 20:11 julianxhokaxhiu

@canthefason Do you plan to add this feature or you prefer contribution for it?

penkovski avatar Jul 13 '20 10:07 penkovski