diff --git a/tools/cldr-apps/js/package.json b/tools/cldr-apps/js/package.json index e6869cf6cde..878115d7959 100644 --- a/tools/cldr-apps/js/package.json +++ b/tools/cldr-apps/js/package.json @@ -5,6 +5,7 @@ "main": "index.js", "scripts": { "build-test": "webpack --config webpack-test.config.js", + "watch-test": "npm run build-test -- --watch", "test": "npm run nonbrowser-test && npm run browser-test", "nonbrowser-test": "mocha --reporter spec test/nonbrowser/test-*.mjs", "browser-test": "npm run build-test && mocha-headless-chrome -f test/Test.html", diff --git a/tools/cldr-apps/js/test/Test.html b/tools/cldr-apps/js/test/Test.html index a94a14431c0..d98bcbcb2c6 100644 --- a/tools/cldr-apps/js/test/Test.html +++ b/tools/cldr-apps/js/test/Test.html @@ -16,17 +16,14 @@ " >
- Important: run with run.sh; open the browser console to check +
npm i
to installnpm run build-test
npm run watch-test
(control-C to cancel)References: