There is an option
--ignore which allows specifying files to ignore. At the moment I only managed to ignore multiple files by doing
--ignore file1 --ignore file2.......
Trying to use
--ignore "*assets*|*scripts*" does nothing. So is there a catch I'm not aware of?