{"action":"opened","issue":{"url":"https://api.github.com/repos/noseglid/atom-build/issues/173","labels_url":"https://api.github.com/repos/noseglid/atom-build/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/noseglid/atom-build/issues/173/comments","events_url":"https://api.github.com/repos/noseglid/atom-build/issues/173/events","html_url":"https://github.com/noseglid/atom-build/issues/173","id":105674534,"number":173,"title":"Uncaught TypeError: type RegExp expected","user":{"login":"bodocabdd","id":1440742,"avatar_url":"https://avatars.githubusercontent.com/u/1440742?v=3","gravatar_id":"","url":"https://api.github.com/users/bodocabdd","html_url":"https://github.com/bodocabdd","followers_url":"https://api.github.com/users/bodocabdd/followers","following_url":"https://api.github.com/users/bodocabdd/following{/other_user}","gists_url":"https://api.github.com/users/bodocabdd/gists{/gist_id}","starred_url":"https://api.github.com/users/bodocabdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bodocabdd/subscriptions","organizations_url":"https://api.github.com/users/bodocabdd/orgs","repos_url":"https://api.github.com/users/bodocabdd/repos","events_url":"https://api.github.com/users/bodocabdd/events{/privacy}","received_events_url":"https://api.github.com/users/bodocabdd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T20:06:56Z","updated_at":"2015-09-09T20:06:56Z","closed_at":null,"body":"So, i have this project using a custom .atom-build.json, using cake cmd to join coffee files, among other tasks. My problem is, it was working really fine before some atom and atom-build updates. And now, every time I try to build with an error in my code, the package throws this Exception below and I have to restart atom to be able to trigger build again. I would love to help you and fix this, but I lack the time right now. =(\r\n\r\n**Steps**\r\n1. A project thats builds coffee with cake.\r\n2. This .atom-build.json:\r\n```JSON\r\n{\r\n    \"cmd\": \"cake\",\r\n    \"args\": [\"sbuild\"],\r\n    \"sh\": true,\r\n    \"cwd\": \"{PROJECT_PATH}\"\r\n}\r\n```\r\n\r\n**Atom Version**: 1.0.11\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [build](https://github.com/noseglid/atom-build) package, v0.46.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: type RegExp expected\r\n\r\n```\r\nAt /Users/myuser/.atom/packages/build/node_modules/xregexp/xregexp-all.js:141\r\n\r\nTypeError: type RegExp expected\r\n    at copy (/Users/myuser/.atom/packages/build/node_modules/xregexp/xregexp-all.js:141:19)\r\n    at Function.self.exec (/Users/myuser/.atom/packages/build/node_modules/xregexp/xregexp-all.js:504:18)\r\n    at Function.self.forEach (/Users/myuser/.atom/packages/build/node_modules/xregexp/xregexp-all.js:541:30)\r\n    at ErrorMatcher.module.exports.ErrorMatcher._parse (/Users/myuser/.atom/packages/build/lib/error-matcher.js:80:15)\r\n    at ErrorMatcher.module.exports.ErrorMatcher.set (/Users/myuser/.atom/packages/build/lib/error-matcher.js:127:10)\r\n    at Object.<anonymous> (/Users/myuser/.atom/packages/build/lib/build.js:354:31)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:169:7)\r\n    at maybeClose (child_process.js:997:16)\r\n    at Socket.<anonymous> (child_process.js:1166:11)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:36.8.0 build:trigger (atom-text-editor.editor.is-focused)\r\n  3x -0:28 editor:delete-line (atom-text-editor.editor.is-focused)\r\n     -0:26.9.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:26 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:25.8.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:25.5.0 core:close (atom-text-editor.editor.is-focused)\r\n     -0:11.7.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -0:11.4.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:11.1.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)\r\n     -0:10.2.0 core:move-left (atom-text-editor.editor.is-focused)\r\n  2x -0:09.4.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:02.0 build:trigger (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"monokai\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"save-session\",\r\n      \"sublime-tabs\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"permute\",\r\n      \"duplicate-line-or-selection\",\r\n      \"wrap-guide\"\r\n    ],\r\n    \"excludeVcsIgnoredPaths\": false\r\n  },\r\n  \"build\": {\r\n    \"saveOnBuild\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nangularjs, v0.3.0\r\nauto-detect-indentation, v0.4.2\r\nautocomplete-paths, v1.0.2\r\nbuild, v0.46.0\r\ncompare-files, v0.6.2\r\nemmet, v2.3.12\r\nhighlight-selected, v0.10.1\r\njsformat, v0.9.0\r\nlanguage-coffee-script-angular, v2.2.0\r\nlinter, v1.5.1\r\nlinter-jshint, v1.2.0\r\nlinter-php, v1.0.3\r\nmonokai, v0.18.0\r\nphp-composer-completion, v0.3.4\r\nproject-manager, vundefined\r\ntabs-to-spaces, v0.11.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"}}