In some instances we may want to copy the fixtures from the base cache directory to the override directory. A flag would be useful, so as fixtures get used from the base, they are copied to the override directory.
new Mockingjays().start({
copyToOverrideDir: (request) -> request.host.indexOf('auth') < 0 // only copy fixtures not part of the auth host.
});
new Mockingjays().start({
copyToOverrideDir: true // Copy all fixtures to override directory.
});
In some instances we may want to copy the fixtures from the base cache directory to the override directory. A flag would be useful, so as fixtures get used from the base, they are copied to the override directory.