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

Add AUTO_RELOAD option to WebpackLoader #164

Closed
wants to merge 6 commits into from

Conversation

shanx
Copy link

@shanx shanx commented Jun 8, 2018

When CACHE and AUTO_RELOAD are set to True, webpack-loader will read the stats file only once and cache the result. Wepback will watch the stats file for any changes (based on the modification time of the file). If the file is changed webpack-loader will automatically pick up any changes made to the stats files but otherwise use the cache.

shanx added 6 commits June 7, 2018 16:19
…having class variable become an instance variable. The caching logic is handled at the get_loader level
…re set to True, webpack-loader will read the stats file only once and cache the result. Wepback will watch the stats file for any changes (based on the modification time of the file). If the file is changed webpack-loader will automatically pick up any changes made to the stats files but otherwise use the cache.
@detectedstealth
Copy link

What is the status of this PR? Looks like it could possibly fix the issue we are having with docker not seeing any of the changes.

Copy link

@jpic jpic left a comment

Choose a reason for hiding this comment

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

Thank you very much for your contribution.

@fjsj fjsj requested a review from rvlb May 6, 2021 13:10
@fjsj fjsj assigned rvlb May 6, 2021
@fjsj fjsj unassigned rvlb Jul 15, 2021
@shanx shanx closed this May 7, 2024
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.

4 participants