Test commands how to configure nodemon?

"scripts": {
    "test:unit": "vue-cli-service test:unit"
}

this test:unit command can only be run once. If I want it to restart again and again, what should I do with node?

"test:unit": "nodemon -w tests/unit/*.test.js vue-cli-service test:unit"

I want it to automatically run the vue-cli-service test:unit command

when it detects changes to the test.js file in the tests/unit/ directory.
Feb.10,2022

"test:unit": "nodemon --watch tests/unit/*.test.js --exec 'vue-cli-service test:unit'"
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf41c1-3a27b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf41c1-3a27b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?