compose watch documentation missing common issues
maciej-wakula-opuscapita opened this issue · comments
What is the problem you're trying to solve
I spent a lot of effort to troubleshoot errors:
- "Error handling changed files for service : no such directory"
- "tar: Substituting `.' for empty member name"
- "tar: .: Cannot open: File exists"
- "tar: Exiting with failure status due to previous errors"
The errors are not indicating actual problem.
Describe the solution you'd like
- Add a list of common problems
- Validate that all the parameters are specified (in my case there was no "target" in "develop.watch[]" and refuse to watch if critical elements are missing
- Fix the implementation to separate existing actions "rebuild", "sync+restart" and "sync"
- Add new actions "restart" (only restart container on change) and "recreate" (pull the image and recreate container)
Additional context
#418