{"action":"created","issue":{"url":"https://api.github.com/repos/mkurz/sbt-autoprefixer/issues/3","repository_url":"https://api.github.com/repos/mkurz/sbt-autoprefixer","labels_url":"https://api.github.com/repos/mkurz/sbt-autoprefixer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mkurz/sbt-autoprefixer/issues/3/comments","events_url":"https://api.github.com/repos/mkurz/sbt-autoprefixer/issues/3/events","html_url":"https://github.com/mkurz/sbt-autoprefixer/issues/3","id":126971829,"number":3,"title":"Gradient has outdated direction syntax","user":{"login":"eximius313","id":5578017,"avatar_url":"https://avatars.githubusercontent.com/u/5578017?v=3","gravatar_id":"","url":"https://api.github.com/users/eximius313","html_url":"https://github.com/eximius313","followers_url":"https://api.github.com/users/eximius313/followers","following_url":"https://api.github.com/users/eximius313/following{/other_user}","gists_url":"https://api.github.com/users/eximius313/gists{/gist_id}","starred_url":"https://api.github.com/users/eximius313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eximius313/subscriptions","organizations_url":"https://api.github.com/users/eximius313/orgs","repos_url":"https://api.github.com/users/eximius313/repos","events_url":"https://api.github.com/users/eximius313/events{/privacy}","received_events_url":"https://api.github.com/users/eximius313/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T22:31:43Z","updated_at":"2016-02-06T15:04:05Z","closed_at":null,"body":"While autoprefixing, it throws this exception:\r\n```\r\n[info] LESS compiling on 1 source(s)\r\n[info] Autoprefixing CSS\r\n[error] { type: 'warning',\r\n[error]   text: 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.',\r\n[error]   line: 30,\r\n[error]   column: 3,\r\n[error]   node:\r\n[error]    { raws: { before: '\\n\\t\\t', between: ':         ' },\r\n[error]      type: 'decl',\r\n[error]      parent:\r\n[error]       { raws: [Object],\r\n[error]         type: 'rule',\r\n[error]         nodes: [Object],\r\n[error]         parent: [Object],\r\n[error]         source: [Object],\r\n[error]         selector: '.alertify-button',\r\n[error]         lastEach: 9,\r\n[error]         indexes: {},\r\n[error]         _autoprefixerDisabled: false,\r\n[error]         _autoprefixerPrefix: false },\r\n[error]      source: { start: [Object], input: [Object], end: [Object] },\r\n[error]      prop: 'background-image',\r\n[error]      value: 'linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0))',\r\n[error]      _autoprefixerDisabled: false,\r\n[error]      _autoprefixerPrefix: false,\r\n[error]      _autoprefixerValues: { '-webkit-': '-webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0))' } },\r\n[error]   plugin: 'autoprefixer' } 0 [ { type: 'warning',\r\n[error]     text: 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.',\r\n[error]     line: 30,\r\n[error]     column: 3,\r\n[error]     node:\r\n[error]      { raws: [Object],\r\n[error]        type: 'decl',\r\n[error]        parent: [Object],\r\n[error]        source: [Object],\r\n[error]        prop: 'background-image',\r\n[error]        value: 'linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0))',\r\n[error]        _autoprefixerDisabled: false,\r\n[error]        _autoprefixerPrefix: false,\r\n[error]        _autoprefixerValues: [Object] },\r\n[error]     plugin: 'autoprefixer' },\r\n[error]   { type: 'warning',\r\n[error]     text: 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.',\r\n[error]     line: 36,\r\n[error]     column: 3,\r\n[error]     node:\r\n[error]      { raws: [Object],\r\n[error]        type: 'decl',\r\n[error]        parent: [Object],\r\n[error]        source: [Object],\r\n[error]        prop: 'background-image',\r\n[error]        value: 'linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0))',\r\n[error]        _autoprefixerDisabled: false,\r\n[error]        _autoprefixerPrefix: false,\r\n[error]        _autoprefixerValues: [Object] },\r\n[error]     plugin: 'autoprefixer' } ]\r\n[error] { type: 'warning',\r\n[error]   text: 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.',\r\n[error]   line: 36,\r\n[error]   column: 3,\r\n[error]   node:\r\n[error]    { raws: { before: '\\n\\t\\t', between: ':         ' },\r\n[error]      type: 'decl',\r\n[error]      parent:\r\n[error]       { raws: [Object],\r\n[error]         type: 'rule',\r\n[error]         nodes: [Object],\r\n[error]         parent: [Object],\r\n[error]         source: [Object],\r\n[error]         selector: '.alertify-button:hover,\\n\\t.alertify-button:focus',\r\n[error]         lastEach: 9,\r\n[error]         indexes: {},\r\n[error]         _autoprefixerDisabled: false,\r\n[error]         _autoprefixerPrefix: false },\r\n[error]      source: { start: [Object], input: [Object], end: [Object] },\r\n[error]      prop: 'background-image',\r\n[error]      value: 'linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0))',\r\n[error]      _autoprefixerDisabled: false,\r\n[error]      _autoprefixerPrefix: false,\r\n[error]      _autoprefixerValues: { '-webkit-': '-webkit-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0))' } },\r\n[error]   plugin: 'autoprefixer' } 1 [ { type: 'warning',\r\n[error]     text: 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.',\r\n[error]     line: 30,\r\n[error]     column: 3,\r\n[error]     node:\r\n[error]      { raws: [Object],\r\n[error]        type: 'decl',\r\n[error]        parent: [Object],\r\n[error]        source: [Object],\r\n[error]        prop: 'background-image',\r\n[error]        value: 'linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0))',\r\n[error]        _autoprefixerDisabled: false,\r\n[error]        _autoprefixerPrefix: false,\r\n[error]        _autoprefixerValues: [Object] },\r\n[error]     plugin: 'autoprefixer' },\r\n[error]   { type: 'warning',\r\n[error]     text: 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.',\r\n[error]     line: 36,\r\n[error]     column: 3,\r\n[error]     node:\r\n[error]      { raws: [Object],\r\n[error]        type: 'decl',\r\n[error]        parent: [Object],\r\n[error]        source: [Object],\r\n[error]        prop: 'background-image',\r\n[error]        value: 'linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0))',\r\n[error]        _autoprefixerDisabled: false,\r\n[error]        _autoprefixerPrefix: false,\r\n[error]        _autoprefixerValues: [Object] },\r\n[error]     plugin: 'autoprefixer' } ]\r\n```\r\nAnd I don't have any gradients in my CSS..."},"comment":{"url":"https://api.github.com/repos/mkurz/sbt-autoprefixer/issues/comments/180783524","html_url":"https://github.com/mkurz/sbt-autoprefixer/issues/3#issuecomment-180783524","issue_url":"https://api.github.com/repos/mkurz/sbt-autoprefixer/issues/3","id":180783524,"user":{"login":"eximius313","id":5578017,"avatar_url":"https://avatars.githubusercontent.com/u/5578017?v=3","gravatar_id":"","url":"https://api.github.com/users/eximius313","html_url":"https://github.com/eximius313","followers_url":"https://api.github.com/users/eximius313/followers","following_url":"https://api.github.com/users/eximius313/following{/other_user}","gists_url":"https://api.github.com/users/eximius313/gists{/gist_id}","starred_url":"https://api.github.com/users/eximius313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eximius313/subscriptions","organizations_url":"https://api.github.com/users/eximius313/orgs","repos_url":"https://api.github.com/users/eximius313/repos","events_url":"https://api.github.com/users/eximius313/events{/privacy}","received_events_url":"https://api.github.com/users/eximius313/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T15:04:05Z","updated_at":"2016-02-06T15:04:05Z","body":"@mkurz - Finally I have found out what was going on with this exception.\r\nI had ```includeFilter``` set like in the documentation:\r\n```\r\nincludeFilter in autoprefixer := GlobFilter(\"*.css\")\r\n```\r\nSo it was not my code, but it also took 3rd party libraries from bower, and one of them used line:\r\n```\r\nbackground-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));\r\n```\r\ninstead of\r\n```\r\nbackground-image: -webkit-linear-gradient(to top, rgba(255,255,255,.3), rgba(255,255,255,0));\r\n```\r\n\r\nSo error was a little bit misleading, because you need to change ```top``` to ```to top``` instead of ```left``` which message suggested. Here is the issue https://github.com/postcss/autoprefixer/issues/530.\r\n\r\n**Anyway** - I was trying to change ```GlobFilter``` to ```GlobFilter(\"stylesheets/*.css\")``` but it thrown an exception about timeout instead.\r\nDoes sbt-autoprefixer suppots including only specific path?\r\n\r\nKind regards"}}