Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate removing watchexec from webservers #105

Open
TisVictress opened this issue Aug 3, 2022 · 1 comment
Open

Investigate removing watchexec from webservers #105

TisVictress opened this issue Aug 3, 2022 · 1 comment

Comments

@TisVictress
Copy link
Contributor

TisVictress commented Aug 3, 2022

It has been recently demonstrated that live reload will work without watchexec for nginx and httpd servers. Live reload exists in the servers by default. Therefore, this issue is to evaluate the impact of removing watchexec from webservers.

Questions

Do we actually know of anyone that is using live reload with web servers right now?
Is watchexec needed to reload the nginx or httpd process in the case that the conf file changed? Or will nginx or httpd automatically pick up these config changes? Is this even a common workflow for users/developers?
Is there a significant difference in performance with watchexec? If app developers are changing code frequently, is watchexec or httpd/nginx more performant?

@joshuatcasey
Copy link
Contributor

I wonder if there's a more graceful way to restart httpd and nginx to handle the case when the configuration changes. It appears this may be possible, but I have yet to test.

httdp

Send a reload or a graceful command? https://www.cyberciti.biz/faq/apache-2-reload-httpd-config-file-unix-linux-command/

nginx

Send the hangup signal to the process? https://nginx.org/en/docs/control.html

@TisVictress TisVictress changed the title Remove watchexec from webservers Investigate removing watchexec from webservers Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants