{"action":"created","issue":{"url":"https://api.github.com/repos/wallabyjs/public/issues/665","repository_url":"https://api.github.com/repos/wallabyjs/public","labels_url":"https://api.github.com/repos/wallabyjs/public/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/wallabyjs/public/issues/665/comments","events_url":"https://api.github.com/repos/wallabyjs/public/issues/665/events","html_url":"https://github.com/wallabyjs/public/issues/665","id":161723249,"number":665,"title":"use files from file-sysytem instead of cache","user":{"login":"yanivefraim","id":1336186,"avatar_url":"https://avatars.githubusercontent.com/u/1336186?v=3","gravatar_id":"","url":"https://api.github.com/users/yanivefraim","html_url":"https://github.com/yanivefraim","followers_url":"https://api.github.com/users/yanivefraim/followers","following_url":"https://api.github.com/users/yanivefraim/following{/other_user}","gists_url":"https://api.github.com/users/yanivefraim/gists{/gist_id}","starred_url":"https://api.github.com/users/yanivefraim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanivefraim/subscriptions","organizations_url":"https://api.github.com/users/yanivefraim/orgs","repos_url":"https://api.github.com/users/yanivefraim/repos","events_url":"https://api.github.com/users/yanivefraim/events{/privacy}","received_events_url":"https://api.github.com/users/yanivefraim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-22T16:06:36Z","updated_at":"2016-06-23T08:03:35Z","closed_at":null,"body":"### Issue description or question\r\nI have a  (node) project which generates a config file in runtime. I have this config file in `files` array, but wallaby does not copy it (probably because when it copies files this file is not there, yet). So when my test is looking for this file (in cache folder) it is not found.\r\n\r\nI have two options: \r\n\r\n1. Wait for files to be written and only then tell wallaby to copy them (have no idea how to do that)\r\n\r\n2. Tell wallaby to take this config file (which is located in `target` folder) from local file system (like we do with node_modules). The question is - how do I tell Wallaby to take files from local filesystem, similar to this thing: \r\n\r\n`process.env.NODE_PATH += ':' + require('path').join(wallaby.localProjectDir, 'node_modules');`\r\n\r\n### Wallaby.js configuration file\r\n\r\n```javascript\r\nmodule.exports = function (wallaby) {\r\n  process.env.NODE_PATH += ':' + require('path').join(wallaby.localProjectDir, 'node_modules');\r\n  return {\r\n    files: [\r\n      'app/**/*.ts',\r\n      {pattern: 'index.js', instrument: false},\r\n      {pattern: 'test/environment.[j|t]s', instrument: false},\r\n      {pattern: 'package.json', instrument: false},\r\n      {pattern: 'dist/**/*.*', instrument: false}//,\r\n      {pattern: 'target/configs/*.*', instrument: false},\r\n    ],\r\n    tests: [\r\n      'test/**/*.spec.[j|t]s'\r\n    ],\r\n    testFramework: 'jasmine',\r\n    env: {\r\n      type: 'node'\r\n    },\r\n    workers: {recycle: false}\r\n  };\r\n};\r\n\r\n```\r\n\r\n### Code editor or IDE name and version\r\n\r\nAtom v1.x\r\n\r\n### OS name and version\r\n\r\nOSX\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wallabyjs/public/issues/comments/227978314","html_url":"https://github.com/wallabyjs/public/issues/665#issuecomment-227978314","issue_url":"https://api.github.com/repos/wallabyjs/public/issues/665","id":227978314,"user":{"login":"yanivefraim","id":1336186,"avatar_url":"https://avatars.githubusercontent.com/u/1336186?v=3","gravatar_id":"","url":"https://api.github.com/users/yanivefraim","html_url":"https://github.com/yanivefraim","followers_url":"https://api.github.com/users/yanivefraim/followers","following_url":"https://api.github.com/users/yanivefraim/following{/other_user}","gists_url":"https://api.github.com/users/yanivefraim/gists{/gist_id}","starred_url":"https://api.github.com/users/yanivefraim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanivefraim/subscriptions","organizations_url":"https://api.github.com/users/yanivefraim/orgs","repos_url":"https://api.github.com/users/yanivefraim/repos","events_url":"https://api.github.com/users/yanivefraim/events{/privacy}","received_events_url":"https://api.github.com/users/yanivefraim/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T08:03:35Z","updated_at":"2016-06-23T08:03:35Z","body":"Yes, the code gets the path from my code (from my test code, to be more precise). The code doing this fs.writeFile... My solution (which worked, BTW) was passing absolute path, for local file system."}}
{"actor":{"display_login":"yanivefraim"}}