You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/05/22 19:02:35 UTC

[incubator-annotator] 01/02: Enable HMR in the development demo

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 21811b85c04f2fd519c10ead4e94f510db8e96d2
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed May 22 13:39:25 2019 -0400

    Enable HMR in the development demo
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 08d1917..8cfb8cd 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "clean": "lerna exec -- rimraf esm lib",
     "lint": "eslint . --ext js,mjs --fix --quiet",
     "prepare": "lerna run prepare",
-    "start": "webpack-dev-server",
+    "start": "webpack-dev-server --hot",
     "test": "cross-env BABEL_ENV=test nyc mocha packages/*/test/**/*.js",
     "validate": "cross-env BABEL_ENV=test nyc mocha test/**/*.js"
   },