{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/docs/issues/32","labels_url":"https://api.github.com/repos/webpack/docs/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/webpack/docs/issues/32/comments","events_url":"https://api.github.com/repos/webpack/docs/issues/32/events","html_url":"https://github.com/webpack/docs/issues/32","id":69203968,"number":32,"title":"Does webpack-dev-server always serve bundle from memory?","user":{"login":"gryzzly","id":26131,"avatar_url":"https://avatars.githubusercontent.com/u/26131?v=3","gravatar_id":"","url":"https://api.github.com/users/gryzzly","html_url":"https://github.com/gryzzly","followers_url":"https://api.github.com/users/gryzzly/followers","following_url":"https://api.github.com/users/gryzzly/following{/other_user}","gists_url":"https://api.github.com/users/gryzzly/gists{/gist_id}","starred_url":"https://api.github.com/users/gryzzly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gryzzly/subscriptions","organizations_url":"https://api.github.com/users/gryzzly/orgs","repos_url":"https://api.github.com/users/gryzzly/repos","events_url":"https://api.github.com/users/gryzzly/events{/privacy}","received_events_url":"https://api.github.com/users/gryzzly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T19:39:23Z","updated_at":"2015-10-07T02:15:43Z","closed_at":null,"body":"> Using this config webpack-dev-server will serve the static files in your build folder and watch your source files for changes. When changes are made the bundle will be recompiled. This modified bundle is served from memory at the relative path specified in publicPath (see API). It will not be written to your configured output directory. Where a bundle already exists at the same url path the bundle in memory will take precedence.\r\n\r\nIt doesn't seem to work the way it’s described here – when there's stuff in `build` folder, dev server still serves everything from memory. I also looked at source of [`webpack-dev-server`](https://github.com/webpack/webpack-dev-server/blob/master/lib/Server.js#L53) **and** [`webpack-dev-middleware`](https://github.com/webpack/webpack-dev-middleware/blob/master/middleware.js#L18) and it didn't seem that there's condition for **not** serving build from memory . An option to serve things directly from `output.path` folder would be helpful to test resulting production bundle.\r\n\r\nI'd be happy to update the docs to reflect whatever goes on, wanted to get a confirmation that I'm correct. "},"comment":{"url":"https://api.github.com/repos/webpack/docs/issues/comments/146059242","html_url":"https://github.com/webpack/docs/issues/32#issuecomment-146059242","issue_url":"https://api.github.com/repos/webpack/docs/issues/32","id":146059242,"user":{"login":"avindra","id":126848,"avatar_url":"https://avatars.githubusercontent.com/u/126848?v=3","gravatar_id":"","url":"https://api.github.com/users/avindra","html_url":"https://github.com/avindra","followers_url":"https://api.github.com/users/avindra/followers","following_url":"https://api.github.com/users/avindra/following{/other_user}","gists_url":"https://api.github.com/users/avindra/gists{/gist_id}","starred_url":"https://api.github.com/users/avindra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avindra/subscriptions","organizations_url":"https://api.github.com/users/avindra/orgs","repos_url":"https://api.github.com/users/avindra/repos","events_url":"https://api.github.com/users/avindra/events{/privacy}","received_events_url":"https://api.github.com/users/avindra/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T02:15:43Z","updated_at":"2015-10-07T02:15:43Z","body":"Hi @gryzzly  : Have you discovered a viable way to serve directly from output.path? "}}