{"action":"created","issue":{"url":"https://api.github.com/repos/rails/webpacker/issues/1387","repository_url":"https://api.github.com/repos/rails/webpacker","labels_url":"https://api.github.com/repos/rails/webpacker/issues/1387/labels{/name}","comments_url":"https://api.github.com/repos/rails/webpacker/issues/1387/comments","events_url":"https://api.github.com/repos/rails/webpacker/issues/1387/events","html_url":"https://github.com/rails/webpacker/issues/1387","id":309088424,"number":1387,"title":"webpack-dev-server --lazy","user":{"login":"iChip","id":4723782,"avatar_url":"https://avatars2.githubusercontent.com/u/4723782?v=4","gravatar_id":"","url":"https://api.github.com/users/iChip","html_url":"https://github.com/iChip","followers_url":"https://api.github.com/users/iChip/followers","following_url":"https://api.github.com/users/iChip/following{/other_user}","gists_url":"https://api.github.com/users/iChip/gists{/gist_id}","starred_url":"https://api.github.com/users/iChip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iChip/subscriptions","organizations_url":"https://api.github.com/users/iChip/orgs","repos_url":"https://api.github.com/users/iChip/repos","events_url":"https://api.github.com/users/iChip/events{/privacy}","received_events_url":"https://api.github.com/users/iChip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-27T18:45:31Z","updated_at":"2018-03-27T19:41:10Z","closed_at":null,"author_association":"NONE","body":"https://webpack.js.org/configuration/dev-server/ provides a 'lazy' configuration to avoid compiling all scripts up front for larger projects.\r\n\r\nI've tried settings this flag in webpacker.yml as well as via environment variable WEBPACK_DEV_SERVER_LAZY=true as well as via the --lazy argument to bin/webpack-dev-server to no success.\r\n\r\nDoes webpacker.yml not pass through all config? Please advise =)"},"comment":{"url":"https://api.github.com/repos/rails/webpacker/issues/comments/376649619","html_url":"https://github.com/rails/webpacker/issues/1387#issuecomment-376649619","issue_url":"https://api.github.com/repos/rails/webpacker/issues/1387","id":376649619,"user":{"login":"iChip","id":4723782,"avatar_url":"https://avatars2.githubusercontent.com/u/4723782?v=4","gravatar_id":"","url":"https://api.github.com/users/iChip","html_url":"https://github.com/iChip","followers_url":"https://api.github.com/users/iChip/followers","following_url":"https://api.github.com/users/iChip/following{/other_user}","gists_url":"https://api.github.com/users/iChip/gists{/gist_id}","starred_url":"https://api.github.com/users/iChip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iChip/subscriptions","organizations_url":"https://api.github.com/users/iChip/orgs","repos_url":"https://api.github.com/users/iChip/repos","events_url":"https://api.github.com/users/iChip/events{/privacy}","received_events_url":"https://api.github.com/users/iChip/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T19:41:10Z","updated_at":"2018-03-27T19:41:10Z","author_association":"NONE","body":"Thanks for the prompt response!\r\n\r\nI tried this, it does start the server lazily but it appears when i request a page, webpacker expects the assets to already exist rather than requesting them from the server (?)\r\n\r\nActionView::Template::Error (Webpacker can't find manifest.js in {...}/public/packs/manifest.json. Possible causes:\r\n1. You want to set webpacker.yml value of compile to true for your environment\r\n   unless you are using the `webpack -w` or the webpack-dev-server.\r\n2. webpack has not yet re-run to reflect updates.\r\n3. You have misconfigured Webpacker's config/webpacker.yml file.\r\n4. Your webpack configuration is not creating a manifest.\r\nYour manifest contains:\r\n{\r\n}"}}
{"actor":{"display_login":"iChip"}}