{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/issues/138","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/issues/138/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/issues/138/events","html_url":"https://github.com/gruntjs/grunt-contrib-stylus/pull/138","id":89364879,"number":138,"title":"Relative destination ","user":{"login":"cakeinpanic","id":588916,"avatar_url":"https://avatars.githubusercontent.com/u/588916?v=3","gravatar_id":"","url":"https://api.github.com/users/cakeinpanic","html_url":"https://github.com/cakeinpanic","followers_url":"https://api.github.com/users/cakeinpanic/followers","following_url":"https://api.github.com/users/cakeinpanic/following{/other_user}","gists_url":"https://api.github.com/users/cakeinpanic/gists{/gist_id}","starred_url":"https://api.github.com/users/cakeinpanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakeinpanic/subscriptions","organizations_url":"https://api.github.com/users/cakeinpanic/orgs","repos_url":"https://api.github.com/users/cakeinpanic/repos","events_url":"https://api.github.com/users/cakeinpanic/events{/privacy}","received_events_url":"https://api.github.com/users/cakeinpanic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T18:32:28Z","updated_at":"2015-07-08T15:03:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/pulls/138","html_url":"https://github.com/gruntjs/grunt-contrib-stylus/pull/138","diff_url":"https://github.com/gruntjs/grunt-contrib-stylus/pull/138.diff","patch_url":"https://github.com/gruntjs/grunt-contrib-stylus/pull/138.patch"},"body":"Hello!\r\nI've had this problem with stylus url resolving: https://github.com/stylus/stylus/issues/1933 \r\nAnd figured out your plugin processes all css files to one folder specified in `dest`.\r\nBut when my src is like  `src/component/*/in.styl` and i want to generate each .css at `src/component/*/css/out.css`, i should use `rename` to move my files. \r\nSo I made an improvement – now param `relativeDest` can be passed and then all `.css` files will be generated relatively to `dest`.\r\nFor example\r\n```\r\n  task: {\r\n        files: [{\r\n          expand: true,\r\n          relativeDest: '/out',\r\n          src: ['test/in.styl'],\r\n          dest: 'tmp',\r\n          ext: '.css'\r\n        },\r\n```\r\nwill generate `tmp/test/out/in.css` and, the most important, will provide this path to stylus to let it resolve urls correctly\r\n"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/issues/comments/119615770","html_url":"https://github.com/gruntjs/grunt-contrib-stylus/pull/138#issuecomment-119615770","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-stylus/issues/138","id":119615770,"user":{"login":"cakeinpanic","id":588916,"avatar_url":"https://avatars.githubusercontent.com/u/588916?v=3","gravatar_id":"","url":"https://api.github.com/users/cakeinpanic","html_url":"https://github.com/cakeinpanic","followers_url":"https://api.github.com/users/cakeinpanic/followers","following_url":"https://api.github.com/users/cakeinpanic/following{/other_user}","gists_url":"https://api.github.com/users/cakeinpanic/gists{/gist_id}","starred_url":"https://api.github.com/users/cakeinpanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakeinpanic/subscriptions","organizations_url":"https://api.github.com/users/cakeinpanic/orgs","repos_url":"https://api.github.com/users/cakeinpanic/repos","events_url":"https://api.github.com/users/cakeinpanic/events{/privacy}","received_events_url":"https://api.github.com/users/cakeinpanic/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T15:03:54Z","updated_at":"2015-07-08T15:03:54Z","body":"hello, is anyone here?\r\n"}}