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

Watch the PG.pl macro file when running morbo. #2212

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

drgrice1
Copy link
Member

Since this file is cached in the safe zone when the application starts, changes to this file require the webwork2 application to be restarted in order for them to take effect. I have noticed this recently when making changes to that file.

This of course only affects running the webwork2 app in development with morbo. With hypnotoad you would need to restart the app manually since hypnotoad doesn't hot reload. Of course you normally don't edit PG.pl in production, so that is how it should be.

Since this file is cached in the safe zone when the application starts,
changes to this file require the webwork2 application to be restarted in
order for them to take effect.  I have noticed this recently when making
changes to that file.

This of course only affects running the webwork2 app in development with
morbo.  With hypnotoad you would need to restart the app manually since
hypnotoad doesn't hot reload.  Of course you normally don't edit PG.pl
in production, so that is how it should be.
@taniwallach taniwallach merged commit e7fb7c4 into openwebwork:develop Sep 18, 2023
1 check passed
@drgrice1 drgrice1 deleted the watch-PG.pl branch September 19, 2023 18:33
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

Successfully merging this pull request may close these issues.

3 participants