{"action":"created","issue":{"url":"https://api.github.com/repos/gkz/LiveScript/issues/723","labels_url":"https://api.github.com/repos/gkz/LiveScript/issues/723/labels{/name}","comments_url":"https://api.github.com/repos/gkz/LiveScript/issues/723/comments","events_url":"https://api.github.com/repos/gkz/LiveScript/issues/723/events","html_url":"https://github.com/gkz/LiveScript/issues/723","id":76699872,"number":723,"title":"(gulp-)mocha breaks with 1.4","user":{"login":"cyberco","id":112654,"avatar_url":"https://avatars.githubusercontent.com/u/112654?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberco","html_url":"https://github.com/cyberco","followers_url":"https://api.github.com/users/cyberco/followers","following_url":"https://api.github.com/users/cyberco/following{/other_user}","gists_url":"https://api.github.com/users/cyberco/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberco/subscriptions","organizations_url":"https://api.github.com/users/cyberco/orgs","repos_url":"https://api.github.com/users/cyberco/repos","events_url":"https://api.github.com/users/cyberco/events{/privacy}","received_events_url":"https://api.github.com/users/cyberco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-15T11:32:46Z","updated_at":"2015-05-15T18:35:24Z","closed_at":null,"body":"In my gulp task I'm using gulp-mocha for testing, which works fine with LS 1.3.1 but not with 1.4 (both the tests and the app are LiveScript). I'm too new to this whole live/javescript world to give you any more detailed information, but I think you can easily reproduce the problem."},"comment":{"url":"https://api.github.com/repos/gkz/LiveScript/issues/comments/102487380","html_url":"https://github.com/gkz/LiveScript/issues/723#issuecomment-102487380","issue_url":"https://api.github.com/repos/gkz/LiveScript/issues/723","id":102487380,"user":{"login":"cyberco","id":112654,"avatar_url":"https://avatars.githubusercontent.com/u/112654?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberco","html_url":"https://github.com/cyberco","followers_url":"https://api.github.com/users/cyberco/followers","following_url":"https://api.github.com/users/cyberco/following{/other_user}","gists_url":"https://api.github.com/users/cyberco/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberco/subscriptions","organizations_url":"https://api.github.com/users/cyberco/orgs","repos_url":"https://api.github.com/users/cyberco/repos","events_url":"https://api.github.com/users/cyberco/events{/privacy}","received_events_url":"https://api.github.com/users/cyberco/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T18:35:24Z","updated_at":"2015-05-15T18:35:24Z","body":"My simplified setup is as follows. \r\nFiles:\r\n```\r\nrepo\r\n    |_app\r\n        |_dataserver.ls\r\n    |_test\r\n        |_dataserver_test.ls\r\n```\r\ndataserver.ls\r\n```\r\nbla = -> 'bla'\r\nmodule.exports.bla = bla\r\n```\r\nAnd dataserver_test.ls:\r\n```\r\ndataserver = require '../app/dataserver.js'\r\n\r\nassert = require 'should'\r\ntest = it\r\n\r\n<- describe 'dataserver'\r\n<- test 'should be bla'\r\ndataserver.bla!.should.equal 'bla'\r\n```\r\nThis works fine with gulp-mocha and LiveScript 1.3.1 but not with 1.4, resulting in:\r\n\r\n```\r\n    1) should be bla\r\n  0 passing (5ms)\r\n  1 failing\r\n  1) dataserver should be bla:\r\n     TypeError: Object #<Object> has no method 'bla'\r\n      at Context.<anonymous> (test/dataserver_test.ls:8:23)\r\n Error in plugin 'gulp-mocha'\r\nMessage:\r\n    1 test failed.\r\n```\r\nCaveat emptor: Again, I'm really new to the javalivescript world of doing things, so it might be that I'm just doing something stupid.\r\n"}}