Skip to content

allow arbitrary paths to be passed for hot reloading #8

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

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Dec 16, 2022

Motivation

To also support layer hot reloading, we want to pass arbitrary paths to the lambda init, to allow watching for changes on arbitrary paths.

Changes

  • Instead of using a boolean value to enable hot reloading for /var/task, we pass a comma separated list of paths to watch. If it is empty, hot reloading will be disabled.

Copy link
Member

@dominikschubert dominikschubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@dfangl dfangl merged commit 233fcfb into localstack Dec 16, 2022
@dfangl dfangl deleted the arbitrary-hot-reloading branch December 16, 2022 21:14
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.

2 participants