question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hot-module-replacement support

See original GitHub issue

Hello,

Is it possible to properly HMR <i18n> tags? It doesn’t work for me.

HMR does work properly for my .vue files (it correctly picks up changes from templates/scripts…). It does see changes coming from <i18n> tags and I do see HMR output in console. Problem is, it doesn’t pick up the changes.

I’m using webpack.HotModuleReplacementPlugin, and webpackDevServer with { hot: true } option

Is it just not implemented, or do I have to do some additional setup to make it work?

Thanks!

PS. Thanks for the good work with this loader and vue-i18n. I really like it!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
kazuponcommented, Jul 28, 2017

sorry, vue-i18n-loader cannot support HMR yet. I’ll plan to supporting it. 😉

1reaction
suilcommented, Sep 28, 2017

any timeline about when it will be supported?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hot Module Replacement - webpack
Hot Module Replacement (HMR) exchanges, adds, or removes modules while an ... On the management side, the runtime supports two methods: check and...
Read more >
Webpack's Hot Module Replacement Feature Explained
How Hot Module Replacement works. HMR allows you to exchange, add, or remove JavaScript modules while the application is running, all without ...
Read more >
Hot Module Replacement
Hot Module Replacement (or HMR) is one of the most useful features offered by webpack. It allows all kinds of modules to be...
Read more >
hot-module-replacement | Meteor API Docs
Hot Module Replacement (HMR) is a method of updating javascript modules within a running application. This reduces the feedback cycle while developing, ...
Read more >
Hot Module Replacement - SurviveJS
Hot Module Replacement (HMR) builds on top of the WDS. It enables an interface that makes it ... To work, HMR requires both...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found