Closed deepakjois closed 8 years ago
Maybe add an option none
to not send any signals to daemons:
src/** {
daemon +none: webpack -d --watch
}
If you put the webpack daemon in a block without any match pattern, it will run on startup but never receive change notifications:
{
daemon: webpack -d --watch src
}
Does this do what you want?
Yes it does. I guess I missed it in the README
I am using
webpack --watch
as a daemon command in mymodd.conf
file. It appears that sending SIGHUP to webpack kills the process, which is not the behavior I want.Webpack is capable of figuring out that files changed and do a recompile by itself. So what I really want is for the daemon process to not receive any signal. Right now, I can hack it up by sending SIGWINCH.
Here is my modd.conf FWIW: