-
Notifications
You must be signed in to change notification settings - Fork 295
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
After get a success message "[HMR] App is up to date." the result is not showing in the browser. #351
Comments
I just started getting the same thing on my project. I check my commits and files and it appears nothing has changed. I've even pulled an old version of my project that I know was working, and it is now showing this error. |
I'm running into this issue as well after attempting to update from version 2.22.2. I make a change, the page refreshes and shows the success message in the console, but the actual changes in the app are not applied, so I have to force a full refresh to get them. |
For what it's worth, this seems to be related to Babel 7 upgrades at least in my case. I haven't been able to narrow down what exactly it's having issues with, but it didn't start happening until after I made the change from v6 to v7. This is my babel config:
In my app entry file, I have the
Has anyone gotten hot reloading to work properly with babel 7? Is there something special I'm missing that I need to add? |
For anyone else hitting this issue, this solution below worked in our case. We had to change the
|
"use strict";
require("dotenv").config();
var webpack = require("webpack");
var path = require("path");
var ProgressBarPlugin = require("progress-bar-webpack-plugin");
Server.js
const send = require("koa-send");
const Router = require("koa-router");
const serve = require("koa-static");
const bodyParser = require("koa-bodyparser");
const logger = require("koa-logger");
const Koa = require("koa");
const webpack = require("webpack");
const devMiddleware = require("webpack-dev-middleware");
const hotMiddleware = require("webpack-hot-middleware");
const devConfig = require("./webpack.config");
const koa2Connect = require("koa2-connect");
const helmet = require("koa-helmet");
const RateLimit = require("koa2-ratelimit").RateLimit;
const { API } = require("mobx-model");
const { dreamfactoryMiddleware } = require("./server/dreamfactory/middleware");
const { notify } = require("./server/recaptcha");
const { exportExcel, exportCsv } = require("./server/export");
const { importExcel, importCsv } = require("./server/import");
const { generateUrl, generateUrlNoAuth, verifyOtp, verifyOtpNoAuth, login, confirm } = require("./server/otp");
The text was updated successfully, but these errors were encountered: