Running mocha tests and nodemon

Just wondering how I'd run my mocha tests on every save with nodemon? And whether that would even be desirable, or if it would too much on each save? Couldn't really seem to see much about it Here are my scripts:
"start": "nodemon app.js",
"unit": "mocha 'tests/unit/**/*.js' --timeout 10000 --require tests/hooks.js"
"start": "nodemon app.js",
"unit": "mocha 'tests/unit/**/*.js' --timeout 10000 --require tests/hooks.js"
0 Replies
No replies yetBe the first to reply to this messageJoin