Closed benoittgt closed 5 years ago
You should separate the command from the options using --
:
alias rbrd='rerun --dir app,spec,config -p "**/*.{rb,js,jbuilder,coffee,css,scss,sass,erb,html,haml,ru,yml,slim,md}" -- bin/rspec --format documentation'
That way OptionParser can differentiate between rerun options and rspec options.
Thanks!
Hello
I have this in my
.zshrc
But I get an error
No problem without
--format documentation
.Any ideas ?