{"action":"closed","issue":{"url":"https://api.github.com/repos/lord/slate/issues/476","repository_url":"https://api.github.com/repos/lord/slate","labels_url":"https://api.github.com/repos/lord/slate/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/lord/slate/issues/476/comments","events_url":"https://api.github.com/repos/lord/slate/issues/476/events","html_url":"https://github.com/lord/slate/issues/476","id":140773574,"number":476,"title":"js_dir config change results in empty js files being written.","user":{"login":"lukeweber","id":195363,"avatar_url":"https://avatars.githubusercontent.com/u/195363?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeweber","html_url":"https://github.com/lukeweber","followers_url":"https://api.github.com/users/lukeweber/followers","following_url":"https://api.github.com/users/lukeweber/following{/other_user}","gists_url":"https://api.github.com/users/lukeweber/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeweber/subscriptions","organizations_url":"https://api.github.com/users/lukeweber/orgs","repos_url":"https://api.github.com/users/lukeweber/repos","events_url":"https://api.github.com/users/lukeweber/events{/privacy}","received_events_url":"https://api.github.com/users/lukeweber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lord/slate/labels/unconfirmed","name":"unconfirmed","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-03-14T19:23:15Z","updated_at":"2016-09-04T07:06:23Z","closed_at":"2016-09-04T07:06:22Z","body":"Changing js_dir in config.rb breaks javascript build with \"bundle exec middleman build --clean .\"\r\n\r\nExpected: Javascript files in /tmp/slate/build/javascripts/ to have content.\r\n\r\nActual: Javascript files in /tmp/slate/build/javascripts/ exist, but are all empty.\r\n\r\nBackground:\r\nAs part of the [instructions to run slate on your own server](https://github.com/tripit/slate/wiki/Deploying-Slate#publishing-your-docs-to-your-own-server)\r\n\r\nReproduce issue:\r\n1 - edit config.rb\r\n```diff\r\n- set :js_dir, 'javascripts'\r\n+ set :js_dir, 'javascripts/other'\r\n```\r\n2 - Run \r\n\r\n``` \r\n> bundle exec middleman build --clean .\r\n```\r\n\r\n3 - cat build/javascripts/all.js (It's empty)\r\n"}}
{"actor":{"display_login":"lord"}}