{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/node-sass-middleware/issues/110","repository_url":"https://api.github.com/repos/sass/node-sass-middleware","labels_url":"https://api.github.com/repos/sass/node-sass-middleware/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass-middleware/issues/110/comments","events_url":"https://api.github.com/repos/sass/node-sass-middleware/issues/110/events","html_url":"https://github.com/sass/node-sass-middleware/issues/110","id":284091055,"number":110,"title":"node-sass-middleware not working with server.js","user":{"login":"guruprasaad123","id":19173193,"avatar_url":"https://avatars2.githubusercontent.com/u/19173193?v=4","gravatar_id":"","url":"https://api.github.com/users/guruprasaad123","html_url":"https://github.com/guruprasaad123","followers_url":"https://api.github.com/users/guruprasaad123/followers","following_url":"https://api.github.com/users/guruprasaad123/following{/other_user}","gists_url":"https://api.github.com/users/guruprasaad123/gists{/gist_id}","starred_url":"https://api.github.com/users/guruprasaad123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruprasaad123/subscriptions","organizations_url":"https://api.github.com/users/guruprasaad123/orgs","repos_url":"https://api.github.com/users/guruprasaad123/repos","events_url":"https://api.github.com/users/guruprasaad123/events{/privacy}","received_events_url":"https://api.github.com/users/guruprasaad123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-22T07:22:06Z","updated_at":"2017-12-22T07:22:06Z","closed_at":null,"author_association":"NONE","body":"I am trying to use node-sass-middleware in my [server.js](https://serverjs.io) project.As described in the official [Docs](https://serverjs.io/documentation/#express-middleware).the code I tried ...\r\n\r\n`var sassMiddleware = require('node-sass-middleware');\r\nlet connect = require('connect');\r\nlet path=require(\"path\");\r\nlet connect_app= connect();\r\n\r\nconnect_app.use(sassMiddleware({\r\n    src: path.join(__dirname, 'public'),\r\n    dest: path.join(__dirname, 'public'),\r\n    indentedSyntax:true,\r\n    sourceMap:true,\r\n    prefix:  '/stylesheets'  \r\n}));// pages data\r\n\r\nconst {status}= server.reply;\r\n\r\nserver({\r\npublic:'public',\r\nviews:'pages',\r\nport:80\r\n},[\r\n    get('/',data=>render('index.ejs',index)),\r\n    error(ctx=> status(500).send(ctx.error.message)),\r\n    modern(sass)\r\n]);`"}}
{"actor":{"display_login":"guruprasaad123"}}