Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File load order using ! operator #1133

Closed
jhoguet opened this issue Jul 15, 2014 · 1 comment
Closed

File load order using ! operator #1133

jhoguet opened this issue Jul 15, 2014 · 1 comment

Comments

@jhoguet
Copy link

jhoguet commented Jul 15, 2014

Is it possible to influence the load order using the ! operator.

For example
files : [ '*/.js' , '!last.js', 'last.js]

We are doing this in our grunt config but find that we are unable to do it in our karma config.

We end up with a warning that no files were matched because the ! operator is now in the middle instead of the beginning.
WARN [watcher]: Pattern "/git/cc-inventory/!web-app/javascript/angular/_/_decorator.js" does not match any file.

In looking at the source, it appears that karma is using node-glob so I was expecting this to work like grunt.

thanks,

jon

@dignifiedquire
Copy link
Member

As we do more work on the file path internally, as you can see this will not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants