From 33b6784c4525432dff7e866b860ffc28ba427ccd Mon Sep 17 00:00:00 2001 From: vird Date: Tue, 5 Jul 2016 17:14:56 +0300 Subject: [PATCH] hotreload hook --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 9789abd..0f0c3c7 100644 --- a/index.js +++ b/index.js @@ -288,6 +288,7 @@ function restoreState (vm, state, isRoot) { restoreState(c, state.children[i]) }) } + vm.$options._context._callHook('hotreload') if (isRoot) { Vue.config.async = oldAsyncConfig }