{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerLabs/polylint/issues/95","labels_url":"https://api.github.com/repos/PolymerLabs/polylint/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/PolymerLabs/polylint/issues/95/comments","events_url":"https://api.github.com/repos/PolymerLabs/polylint/issues/95/events","html_url":"https://github.com/PolymerLabs/polylint/issues/95","id":127407080,"number":95,"title":"Polylint doesn't support static files and root html files being in seperate directories","user":{"login":"PSG-Luna","id":5576448,"avatar_url":"https://avatars.githubusercontent.com/u/5576448?v=3","gravatar_id":"","url":"https://api.github.com/users/PSG-Luna","html_url":"https://github.com/PSG-Luna","followers_url":"https://api.github.com/users/PSG-Luna/followers","following_url":"https://api.github.com/users/PSG-Luna/following{/other_user}","gists_url":"https://api.github.com/users/PSG-Luna/gists{/gist_id}","starred_url":"https://api.github.com/users/PSG-Luna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSG-Luna/subscriptions","organizations_url":"https://api.github.com/users/PSG-Luna/orgs","repos_url":"https://api.github.com/users/PSG-Luna/repos","events_url":"https://api.github.com/users/PSG-Luna/events{/privacy}","received_events_url":"https://api.github.com/users/PSG-Luna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T09:50:06Z","updated_at":"2016-01-19T10:23:31Z","closed_at":"2016-01-19T10:23:31Z","body":"It is not uncommon when doing some server-side templating of the root html files to have the static files and the root html files in seperate directories.\r\nFor example, in our setup, static files end up in server/static/ and the root html files end up in server/templates/\r\n\r\nRunning the following, which I'd expect to work, gives an error:\r\n\r\n```\r\nluna@dev:~/src/gb/delta/src/web/main$ polylint --root server/static/ --input server/templates/index.html \r\nERROR finding server/static/server/templates/index.html\r\nError: ENOENT: no such file or directory, open 'server/static/server/templates/index.html'\r\n    at Error (native)\r\n```\r\n\r\nThe following also does not work:\r\n\r\n```\r\nluna@dev:~/src/gb/delta/src/web/main$ polylint --root server/static/ --input ../template/index.html\r\nERROR finding server/static/bower_components/template/index.html\r\nError: ENOENT: no such file or directory, open 'server/static/bower_components/template/index.html'\r\n    at Error (native)\r\n```"},"comment":{"url":"https://api.github.com/repos/PolymerLabs/polylint/issues/comments/172808309","html_url":"https://github.com/PolymerLabs/polylint/issues/95#issuecomment-172808309","issue_url":"https://api.github.com/repos/PolymerLabs/polylint/issues/95","id":172808309,"user":{"login":"PSG-Luna","id":5576448,"avatar_url":"https://avatars.githubusercontent.com/u/5576448?v=3","gravatar_id":"","url":"https://api.github.com/users/PSG-Luna","html_url":"https://github.com/PSG-Luna","followers_url":"https://api.github.com/users/PSG-Luna/followers","following_url":"https://api.github.com/users/PSG-Luna/following{/other_user}","gists_url":"https://api.github.com/users/PSG-Luna/gists{/gist_id}","starred_url":"https://api.github.com/users/PSG-Luna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSG-Luna/subscriptions","organizations_url":"https://api.github.com/users/PSG-Luna/orgs","repos_url":"https://api.github.com/users/PSG-Luna/repos","events_url":"https://api.github.com/users/PSG-Luna/events{/privacy}","received_events_url":"https://api.github.com/users/PSG-Luna/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T10:23:31Z","updated_at":"2016-01-19T10:23:31Z","body":"Never mind, the later syntax does work when it's not typo'd"}}