Closed pkarl closed 8 years ago
Getting closer, going to try this: http://jaketrent.com/post/pushstate-webpack-dev-server/
...
...
devServer: {
port: 3000,
historyApiFallback: true
}
Accidentally referenced PR from PR instead of issue -_-, closing thanks to #9
Webpack dev server + hmr is invaluable to our work, but every time the goddamn thing refreshes on a non-root page, it serves up a
cannot GET [someroute]
express error.Is the some configuration or duck punching we can do to make
/
,/s/[sessionId]
, and/d/[sessionId]
all load the same client files?