Validation warnings
Print configuration file validation warnings if:
- no files to watch supplied
- port is not defined, when host is
Exit with error code if no files to watch specified at all (in config and via command line).
Related to #43
@leonsodhi: Code looks good to me. Can you edit the error messages (and if you think they can be clearer, comments), either by merging and creating a new branch+PR or by branching from this branch?
@leonsodhi @troy I added more validation warnings. They will come before daemonization on parent stage or if no daemonization required. To determine the stage, I updated VividCortex/godaemon dependency. This update is workaround for #23 .
@leonsodhi this looks good to me other than wording and grammar on the error strings and error code variable name ("Exists"). If it saves you time to put revisions in here for Yury to implement, go for it.
Summing all comments above, do you want to have -D option for validations warnings? Defaults to false.