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

131 feature hmr #138

Merged
merged 1 commit into from
Dec 8, 2023
Merged

131 feature hmr #138

merged 1 commit into from
Dec 8, 2023

Conversation

barthofu
Copy link
Owner

@barthofu barthofu commented Dec 8, 2023

This PR adds HMR to commands and events sources file!

Nodemon is still enabled for all the other paths. So you'll have nearly instant reload times when editing commands and events, and still benefit of nodemon auto restart fonctionality when editing other source files.

It also removes the quite useless dev:start npm script, feel free to add it again if you need it.

Note that it is the very first version and prototype of HMR and will likely be enhanced in the future, with a main focus on extending it on as many as possible of source files (services, extensions, etc). Any help is welcomed in order to achieve this goal!

@barthofu barthofu self-assigned this Dec 8, 2023
@barthofu barthofu linked an issue Dec 8, 2023 that may be closed by this pull request
@barthofu barthofu changed the base branch from main to version/2.3 December 8, 2023 18:45
@barthofu barthofu merged commit 69f6887 into version/2.3 Dec 8, 2023
1 check passed
@barthofu barthofu deleted the 131-feature-hmr branch December 8, 2023 18:54
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.

[Feature] HMR
1 participant