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

dev: replace webpack-dev-server with watch #2246

Merged
merged 11 commits into from
Mar 17, 2022
Merged

Conversation

mastercactapus
Copy link
Member

Description:
This PR replaces the use of webpack-dev-server and the required proxy with a method that will serve files from the local filesystem or in memory. For localdev, webpack is run in watch mode and a new tool live.js polls for changes to UI files.

This is in prep for the esbuild work on the graphql explorer.

Review Tips
Everything should work as it did before, though make start may start a little faster. If you already have code in web/src/build it will be served while the dev build runs in the background instead of getting a hang with "wait until bundle complete" warning.

Changes to index.html or app.js should result in a page reload as they always have.

@dctalbot dctalbot self-requested a review March 16, 2022 15:06
web/index.go Outdated Show resolved Hide resolved
Procfile Show resolved Hide resolved
Procfile.cypress Show resolved Hide resolved
mastercactapus and others added 3 commits March 16, 2022 10:59
Co-authored-by: David Talbot <17692467+dctalbot@users.noreply.github.com>
Copy link
Contributor

@arurao arurao left a comment

Choose a reason for hiding this comment

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

LGTM

@mastercactapus mastercactapus merged commit 068b7d6 into master Mar 17, 2022
@mastercactapus mastercactapus deleted the remove-dev-proxy branch March 17, 2022 19:29
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