From 01f588d54de7fe0a5cad0d84d4e7abc8e6621b17 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Tue, 27 Nov 2018 15:42:33 -0500 Subject: [PATCH] Run tests in watch mode without cache Running in watch mode was not printing out console.log. https://github.com/facebook/jest/issues/2441 suggests setting --no-cache and that fixed it. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 21cb6968..6dfc9d2a 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js", "test": "jest", "test:coverage": "jest --coverage", - "test:watch": "jest --watch" + "test:watch": "jest --watch --no-cache" }, "author": "", "license": "MIT",