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

hot reload #1733

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

hot reload #1733

wants to merge 2 commits into from

Conversation

Ryze0323
Copy link

Description

Added a hot reload function that retrieves the latest source code except for node_modules in the require cache when loading.

Motivation and Context

In case of serverless offline, it is necessary for fast development

How Has This Been Tested?

We confirmed quick reflection by actually connecting offline and modifying the source.

Screenshots (if appropriate):

README.md Outdated
Comment on lines 1 to 3
# Ryze0323 Fork Version

In the case of version 12.0.4, a speed issue occurred because all packages had to be read and processed each time when developing in a node environment. All folders except the node_modules folder have been changed to reflect user changes.
Copy link

Choose a reason for hiding this comment

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

No need to change the readme

Copy link
Author

Choose a reason for hiding this comment

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

I restored the readme file.

@Ryze0323 Ryze0323 requested a review from duplow October 2, 2023 03:08
@andriesss
Copy link

Can this be merged?

@ps2-controller
Copy link

@Ryze0323 / @duplow , any chance this ties into my hot reload issue?

#1782

@ps2-controller
Copy link

Update - it does not seem to resolve my hot reload issue :(

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.

None yet

4 participants