{"action":"created","issue":{"url":"https://api.github.com/repos/mattdesl/budo/issues/85","labels_url":"https://api.github.com/repos/mattdesl/budo/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/mattdesl/budo/issues/85/comments","events_url":"https://api.github.com/repos/mattdesl/budo/issues/85/events","html_url":"https://github.com/mattdesl/budo/issues/85","id":109728157,"number":85,"title":"Update index file when entry point changes","user":{"login":"rafaelrinaldi","id":87162,"avatar_url":"https://avatars.githubusercontent.com/u/87162?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelrinaldi","html_url":"https://github.com/rafaelrinaldi","followers_url":"https://api.github.com/users/rafaelrinaldi/followers","following_url":"https://api.github.com/users/rafaelrinaldi/following{/other_user}","gists_url":"https://api.github.com/users/rafaelrinaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelrinaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelrinaldi/subscriptions","organizations_url":"https://api.github.com/users/rafaelrinaldi/orgs","repos_url":"https://api.github.com/users/rafaelrinaldi/repos","events_url":"https://api.github.com/users/rafaelrinaldi/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelrinaldi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-05T04:10:22Z","updated_at":"2015-10-05T14:55:31Z","closed_at":"2015-10-05T14:55:31Z","body":"I got stuck trying to configure `budo` to update my (custom) `index.html` file whenever the specified entry point changes. Can someone help me? Here's my configuration:\r\n\r\n```json\r\n\"scripts\": {\r\n  \"server\": \"budo source/scripts/application.js --live --port 8080 --host localhost --dir ./public --onupdate 'npm run build' | garnish -v\",\r\n  \"build\": \"browserify ./source/scripts/application.js -o ./public/assets/scripts/bundle.js -t [ babelify --optional es7 ] -d\",\r\n}\r\n```\r\n\r\n* I've tried to point the output file to the bundle file using `:` but it didn't work (since it's just a reference to the server);\r\n* The `--onupdate` was a desperate attempt, it doesn't really makes sense;\r\n* If I run `npm run build` it works fine.\r\n\r\nHelp?"},"comment":{"url":"https://api.github.com/repos/mattdesl/budo/issues/comments/145557520","html_url":"https://github.com/mattdesl/budo/issues/85#issuecomment-145557520","issue_url":"https://api.github.com/repos/mattdesl/budo/issues/85","id":145557520,"user":{"login":"rafaelrinaldi","id":87162,"avatar_url":"https://avatars.githubusercontent.com/u/87162?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelrinaldi","html_url":"https://github.com/rafaelrinaldi","followers_url":"https://api.github.com/users/rafaelrinaldi/followers","following_url":"https://api.github.com/users/rafaelrinaldi/following{/other_user}","gists_url":"https://api.github.com/users/rafaelrinaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelrinaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelrinaldi/subscriptions","organizations_url":"https://api.github.com/users/rafaelrinaldi/orgs","repos_url":"https://api.github.com/users/rafaelrinaldi/repos","events_url":"https://api.github.com/users/rafaelrinaldi/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelrinaldi/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T14:55:31Z","updated_at":"2015-10-05T14:55:31Z","body":"Hey @mattdesl thanks for the answer. As I've imagined I was trippin'. What you've proposed is exactly what I was looking for.\r\nHaving the hability to bundle for production via `budo` would be nice though :smiley: \r\n\r\nThanks again!"}}