{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/1005","labels_url":"https://api.github.com/repos/sass/node-sass/issues/1005/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/1005/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/1005/events","html_url":"https://github.com/sass/node-sass/issues/1005","id":89003834,"number":1005,"title":"Custom importers should allow replying with a resolved filename as well as contents","user":{"login":"callumlocke","id":250617,"avatar_url":"https://avatars.githubusercontent.com/u/250617?v=3","gravatar_id":"","url":"https://api.github.com/users/callumlocke","html_url":"https://github.com/callumlocke","followers_url":"https://api.github.com/users/callumlocke/followers","following_url":"https://api.github.com/users/callumlocke/following{/other_user}","gists_url":"https://api.github.com/users/callumlocke/gists{/gist_id}","starred_url":"https://api.github.com/users/callumlocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumlocke/subscriptions","organizations_url":"https://api.github.com/users/callumlocke/orgs","repos_url":"https://api.github.com/users/callumlocke/repos","events_url":"https://api.github.com/users/callumlocke/events{/privacy}","received_events_url":"https://api.github.com/users/callumlocke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T12:29:53Z","updated_at":"2015-06-17T12:29:53Z","closed_at":null,"body":"The docs say that custom importers can call back with an object containing a `file` path **OR** `contents`.\r\n\r\nI am calling back with contents, because I have them in memory... But I want to be able to provide a resolved file path too, but not so that Sass can read the file from disk itself, instead so that if the first imported file imports *another* file, then my custom importer can be passed an accurate `prev` argument (the resolved path I provided previously).\r\n\r\nCurrently (as far as I can tell), if I call back with both `file` *and* `contents`, then the contents are ignored, and Sass tries to read the file from disk."}}