{"action":"created","issue":{"url":"https://api.github.com/repos/jedmao/postcss-middleware/issues/11","repository_url":"https://api.github.com/repos/jedmao/postcss-middleware","labels_url":"https://api.github.com/repos/jedmao/postcss-middleware/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jedmao/postcss-middleware/issues/11/comments","events_url":"https://api.github.com/repos/jedmao/postcss-middleware/issues/11/events","html_url":"https://github.com/jedmao/postcss-middleware/issues/11","id":254055855,"number":11,"title":"Postcss not doing anything","user":{"login":"igloosi","id":3758555,"avatar_url":"https://avatars1.githubusercontent.com/u/3758555?v=4","gravatar_id":"","url":"https://api.github.com/users/igloosi","html_url":"https://github.com/igloosi","followers_url":"https://api.github.com/users/igloosi/followers","following_url":"https://api.github.com/users/igloosi/following{/other_user}","gists_url":"https://api.github.com/users/igloosi/gists{/gist_id}","starred_url":"https://api.github.com/users/igloosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igloosi/subscriptions","organizations_url":"https://api.github.com/users/igloosi/orgs","repos_url":"https://api.github.com/users/igloosi/repos","events_url":"https://api.github.com/users/igloosi/events{/privacy}","received_events_url":"https://api.github.com/users/igloosi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-30T16:11:59Z","updated_at":"2018-02-23T00:18:36Z","closed_at":null,"author_association":"NONE","body":"the current setup\r\n```\r\napp.use(sassMiddleware({\r\n  /* Options */\r\n  src: paths.globalScss,\r\n  dest: path.join(__dirname, 'public/css'),\r\n  debug: true,\r\n  outputStyle: 'expanded',\r\n  prefix: '/public/css'\r\n}))\r\n\r\napp.use('/public/css', postcssMiddleware({\r\n  plugins: [autoprefixer()],\r\n  src: function (req) {\r\n    return path.join(__dirname, 'public', 'css', req.path)\r\n  }\r\n}))\r\n\r\napp.use('/public', express.static(path.join(__dirname, 'public')))\r\n```\r\nsass middleware creates the file, but postcss doesnt add vendor prefixes.\r\n\r\nanyone has any ideas?"},"comment":{"url":"https://api.github.com/repos/jedmao/postcss-middleware/issues/comments/367867833","html_url":"https://github.com/jedmao/postcss-middleware/issues/11#issuecomment-367867833","issue_url":"https://api.github.com/repos/jedmao/postcss-middleware/issues/11","id":367867833,"user":{"login":"johnnyluu","id":5201145,"avatar_url":"https://avatars0.githubusercontent.com/u/5201145?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnyluu","html_url":"https://github.com/johnnyluu","followers_url":"https://api.github.com/users/johnnyluu/followers","following_url":"https://api.github.com/users/johnnyluu/following{/other_user}","gists_url":"https://api.github.com/users/johnnyluu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyluu/subscriptions","organizations_url":"https://api.github.com/users/johnnyluu/orgs","repos_url":"https://api.github.com/users/johnnyluu/repos","events_url":"https://api.github.com/users/johnnyluu/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyluu/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T00:18:36Z","updated_at":"2018-02-23T00:18:36Z","author_association":"NONE","body":"Turns out, the plugin doesn't update the file on the file system, it sends the processed css file directly to the browser. So it works, just doesn't update the local copy of the file."}}
{"actor":{"display_login":"johnnyluu"}}