Skip to content

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
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