jasmine-node icon indicating copy to clipboard operation
jasmine-node copied to clipboard

--watch not a valid option after update to latest version

Open solick opened this issue 11 years ago • 1 comments

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

solick avatar Jun 25 '14 09:06 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.

ygt-mikekchar avatar Aug 12 '14 10:08 ygt-mikekchar