{"action":"created","issue":{"url":"https://api.github.com/repos/mietek/haskell-on-heroku/issues/43","labels_url":"https://api.github.com/repos/mietek/haskell-on-heroku/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/mietek/haskell-on-heroku/issues/43/comments","events_url":"https://api.github.com/repos/mietek/haskell-on-heroku/issues/43/events","html_url":"https://github.com/mietek/haskell-on-heroku/issues/43","id":55688213,"number":43,"title":"How to build latest changes with a one-off PX dyno","user":{"login":"gsingh93","id":1012677,"avatar_url":"https://avatars.githubusercontent.com/u/1012677?v=3","gravatar_id":"","url":"https://api.github.com/users/gsingh93","html_url":"https://github.com/gsingh93","followers_url":"https://api.github.com/users/gsingh93/followers","following_url":"https://api.github.com/users/gsingh93/following{/other_user}","gists_url":"https://api.github.com/users/gsingh93/gists{/gist_id}","starred_url":"https://api.github.com/users/gsingh93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsingh93/subscriptions","organizations_url":"https://api.github.com/users/gsingh93/orgs","repos_url":"https://api.github.com/users/gsingh93/repos","events_url":"https://api.github.com/users/gsingh93/events{/privacy}","received_events_url":"https://api.github.com/users/gsingh93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-27T23:02:34Z","updated_at":"2015-01-28T00:42:59Z","closed_at":"2015-01-28T00:42:59Z","body":"I have a yesod website that builds fine locally with `cabal build`, but I can't deploy it because certain things that need to be rebuilt are cached. What I need is to deploy my changes to master without building them (because that would build on a slow dyno) and the build later on on a PX dyno. I've tried following [these](https://haskellonheroku.com/tutorial/#deploy-the-buildpack) instructions I don't get the expected lines when setting the `HALCYON_PURGE_CACHE` variable, which are:\r\n```\r\n   *** ERROR: Cannot build sandbox directory\r\n   *** ERROR: Failed to deploy app\r\n   *** ERROR: Deploying buildpack only\r\n```\r\nI get\r\n```\r\nremote:        Foundation.hs:74:37: Not in scope: ‘css_reset_css’\r\nremote:    *** ERROR: Failed to build app\r\nremote:    *** ERROR: Failed to deploy app\r\n```\r\nwhich is a build error that would be fixed if a complete rebuild was done. What am I doing wrong?"},"comment":{"url":"https://api.github.com/repos/mietek/haskell-on-heroku/issues/comments/71760137","html_url":"https://github.com/mietek/haskell-on-heroku/issues/43#issuecomment-71760137","issue_url":"https://api.github.com/repos/mietek/haskell-on-heroku/issues/43","id":71760137,"user":{"login":"gsingh93","id":1012677,"avatar_url":"https://avatars.githubusercontent.com/u/1012677?v=3","gravatar_id":"","url":"https://api.github.com/users/gsingh93","html_url":"https://github.com/gsingh93","followers_url":"https://api.github.com/users/gsingh93/followers","following_url":"https://api.github.com/users/gsingh93/following{/other_user}","gists_url":"https://api.github.com/users/gsingh93/gists{/gist_id}","starred_url":"https://api.github.com/users/gsingh93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsingh93/subscriptions","organizations_url":"https://api.github.com/users/gsingh93/orgs","repos_url":"https://api.github.com/users/gsingh93/repos","events_url":"https://api.github.com/users/gsingh93/events{/privacy}","received_events_url":"https://api.github.com/users/gsingh93/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T00:42:59Z","updated_at":"2015-01-28T00:42:59Z","body":"I see. It's working now, thank you for the help!"}}