diff --git a/README.md b/README.md index c79cb32..6a9ddf7 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,9 @@ npm run dist # Run unit tests npm test +# Run the unit tests continuously (repeat the test when code changes are saved) +npm run test:watch + # Lint all files in src (also automatically done AFTER tests are run) npm run lint @@ -67,3 +70,4 @@ react-webpack-template is available under MIT-License and can therefore be used ## Contributors - Weblogixx (cs@weblogixx.de) +- Martin Jul (martin@mjul.com) diff --git a/package.json b/package.json index 4b1eecc..55b1e9d 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "node server.js --env=dev", "test": "karma start", + "test:watch": "karma start --singleRun=false", "posttest": "npm run lint", "serve": "node server.js --env=dev", "serve:dist": "node server.js --env=dist",