Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest react-webpack-rails-tutorial has error finding /__webpack_hmr #182

Closed
thewoolleyman opened this issue Dec 20, 2015 · 2 comments
Closed

Comments

@thewoolleyman
Copy link
Contributor

Hi,

I'm trying to get my bearings by running latest master (814671d) of https://github.com/shakacode/react-webpack-rails-tutorial

I'm following the README.md, and everything seems to work when I run bundle exec foreman start -f Procfile.dev.

But, I get this error from the rails server:

20:22:43 rails.1               | Started GET "/__webpack_hmr" for ::1 at 2015-12-19 20:22:43 -0700
20:22:43 rails.1               |
20:22:43 rails.1               | ActionController::RoutingError (No route matches [GET] "/__webpack_hmr"):

I'm assuming that something isn't configured properly to hit the hot reload server running at port 3500 in this case, but I'm not sure if that's the issue, or how to fix it.

Thanks,
-- Chad

@justin808
Copy link
Member

@thewoolleyman You don't hit 3500 directly. That's done by localhost:3000.

I just did a fresh try, and the app is working as expected.

Both ports 3000 and 4000 work.

Check out https://github.com/justin808/justin808-dotfiles/blob/master/zsh/rails.zsh

I use pgkk all the time to kill rogue processes.

@thewoolleyman
Copy link
Contributor Author

Ah ok, it was another browser tab still making requests. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants