Comments (7)
I'm having the same issue. Is there a work around?
from webpackmonitor.
Hey @jaepd and @jaepd. Thank you for getting in touch!
Yeah it won't work on hot reloading I'm afraid, and nor should it want to. But would be good to handle this a bit better than erroring ... so sorry for that!
As for a workaround, don't include it in the webpack config that runs hot reload. The idea is that wpm is really only worth using for production builds where your optimization will take effect and builds will only take place periodically. It's just to keep a record of your proper builds and a mechanism to refer to that record, rather than something you're going to be looking at as you write your project and while you're using hot reload.
Hope that is of some help!
Thank you for your feedback! Defo will look at handling this more 'gracefully' 😬
from webpackmonitor.
That makes a lot of sense! Moving the plugin to our production webpack config did the trick.
Thanks for clarifying!
from webpackmonitor.
Hey thanks for confirming & yes it would be nice to see a little message :)
from webpackmonitor.
production webpack config
This makes not much sense in production mode.
from webpackmonitor.
Watch mode should be supported. Running this in production on a server is not a good idea.
from webpackmonitor.
At least it seems the data is not reloaded. I started two webpack instances. One launches wpm and the other doesn't but writes / should write to the file.
But the client does not reload the new data. Even if I manually edit the json file and reload in the browser it does not work. And I guess this is the root problem.
See how the developers of jarvis do it
https://github.com/zouhir/jarvis/search?utf8=%E2%9C%93&q=hot&type=
from webpackmonitor.
Related Issues (20)
- CLI Proposal HOT 1
- Static html instead of started app HOT 1
- Webpack Monitor doesn´t know create routes HOT 1
- Tapable.plugin is deprecated
- UnhandledPromiseRejectionWarning: Error: undefined:412:2: selector missing HOT 2
- Future of Webpack Monitor HOT 1
- Make a difference between "launch" and "serve".
- Fails when using multiple entry points and html-webpack-plugin
- error when used with next.js HOT 1
- Handle colors package issue
- Suggestion: describe each build and surface in build history so I can see why builds changed
- Suggestion: Emphasize changed data points on /builds tab
- Suggestion: toggle unchanged files and/or data points on the /builds tab
- Unhandled rejection SyntaxError: unknown: static is a reserved word in strict mode HOT 1
- Bug: not defensive vs empty stats.json HOT 2
- Add option to ignore source maps HOT 3
- Suggestion: How to configure Webpack Monitor with Mix + Laravel HOT 1
- webpackmonitor CLI HOT 2
- Doesn't work with --watch HOT 5
- Modules circle on overview page too small HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpackmonitor.