-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
"all: true" ignores include flag #782
Comments
Have the same problem As a workaround you can do the following: 1. Exclude all directories except source {
"all": true,
"exclude": [
"test",
"build",
"coverage",
"dist",
etc..
]
} 2. Change the root path (Currently I'm using this method) {
"all": true,
"cwd": "./source"
} |
I'm happy to pick this up. Would the change be here: https://github.com/istanbuljs/nyc/blob/master/index.js#L179 The change would be to use the |
I believe this will be fixed by #914? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Expected Behavior
With this config file:
I would expect only files in the 'src' folder to be instrumented.
Observed Behavior
In my project, I see nyc run out of memory because it tries to instrument everything. If I add a
console.log()
to this line I see that webpack built files in /dist are being instrumented.Forensic Information
Operating System: OS/X
Environment Information:
node: 8.9.4
nyc: 11.4.1
output: https://gist.github.com/jwalton/193c1fcd02ad861d8805047e193b93f0
The text was updated successfully, but these errors were encountered: