-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Live Reload #37
Add Live Reload #37
Conversation
This PR no longer needs |
a980107
to
ae96c06
Compare
The changes here look reasonable to me, but I'd like to be able to test it out locally when a release is available of libreload-packit |
ae96c06
to
1e65fec
Compare
Sounds good. It can be tested locally with the prerelease version of Another thought I had - do we have confidence that we're not leaking processes by reloading |
@joshuatcasey what do you mean by leaking processes? |
8afefef
to
db84bf2
Compare
|
@sophiewigmore while investigating the "leaking processes" above, I had a brainwave: do we really even need And it looks like that answer is.... Yes. I'll remove |
db84bf2
to
5e8e6cb
Compare
I've force-pushed this branch so that it only contains The original "working" PR is over on branch |
integration/nginx_reload_test.go
Outdated
docker = occam.NewDocker() | ||
}) | ||
|
||
context("when BP_LIVE_RELOAD_ENABLED is true", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshuatcasey I'm confused about this. BP_LIVE_RELOAD_ENABLED
is not set to true in the test - does this line need to be modified? Or should BP_LIVE_RELOAD_ENABLED
be set?
I am assuming just this line needs to change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshuatcasey this still needs to change since the env var isn't set.
@TisVictress why was the |
I needed to make this change in the nginx and httpd buildpacks so that I could add support for watchexec to the web-servers buildpack |
@TisVictress but my question is why is that buildpack needed if this functionality works without watchexec? |
Current state of this PR:
|
6d3f5eb
to
7cc40ef
Compare
@TisVictress this PR is still in progress! |
c7a3360
to
8d026a0
Compare
I think it looks good as of |
@paketo-buildpacks/php-maintainers Are we good to merge this? |
I'd love to get an additional review from @thitch97 on this before we merge since you and I Josh have been collaborating on this a bit. The changes look good to me, though! :) |
114a843
a2419d6
to
114a843
Compare
Add live reload
Resolves #33
Checklist