jasmine-node
jasmine-node copied to clipboard
--watch not a valid option after update to latest version
I ´ve used the folling commant with the previous verison of jasmine-node to run autotest and watch changes of all project files:
jasmine-node spec --autotest --watch .
Which worked perfect for me.
After Updating today with npm update -g to latest version if got two errors.
first was change in paramter from autotest to autoTest which was quite easy to fix ;)
But when i call
jasmine-node spec --autoTest --watch .
I get an error : watch was not a valid option, allthough --watch PATH is listet within the options list.
Any idea how to fix this?
KR solick
You might have already figured this out, but looking at the code it seems like --watch has changed to --watchFolders (at least in the 2.0 beta code). I tested it in the 2.0 beta code and it works.
All that needs to be done is to change the documentation.