You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to integrate Webpack with KeystoneJS for a CMS I'm building. Currently, Webpack properly compiles & serves my React front end, but causes repeated reloading when trying to access the Keystone backend. This is caused by webpack-hot-middleware running into an error (see below) and auto-refreshing the page.
I believe this error is caused by my use of webpack-hot-middleware, as the hot-reloading functionality is what's causing the issue.
Ideally, I'd like to make it so react-hot-middleware ignores everything under localhost:3000/admin
[HMR] connected
[HMR] Checking for updates on the server...
GET http://localhost:3000/admin/a91a1112f99fda33112c.hot-update.json 404 (Not Found)
[HMR] Cannot find update (Full reload needed)
[HMR] (Probably because of restarting the server)
[HMR] Reloading page
I'm attempting to integrate Webpack with KeystoneJS for a CMS I'm building. Currently, Webpack properly compiles & serves my React front end, but causes repeated reloading when trying to access the Keystone backend. This is caused by webpack-hot-middleware running into an error (see below) and auto-refreshing the page.
I believe this error is caused by my use of
webpack-hot-middleware
, as the hot-reloading functionality is what's causing the issue.Ideally, I'd like to make it so react-hot-middleware ignores everything under
localhost:3000/admin
Errors
Server: none
Client (Chrome 78.0.3904.108 (Official Build) (64-bit)):
Code
webpack.config.js
: https://pastebin.com/Kmfj2XEGHow Do We Reproduce?
yarn install
npm run dev
The text was updated successfully, but these errors were encountered: