Phoenix: Apparently, hot code reloading doesn't work, for @zedshaw

Created on 6 Aug 2016  路  3Comments  路  Source: phoenixframework/phoenix

Precheck

  • For help and support, use Stack Overflow or the Phoenix Talk mailing list
  • For proposing a new feature, start a discussion on the Phoenix Core mailing list
  • For bugs, do a quick search and make sure the bug has not yet been reported
  • Ensure that this issue is related to the Phoenix library and not one of the dependencies listed in mix.exs (Ecto, Plug, etc.)
  • All checked? Be nice and have fun!

    Environment

  • Elixir version (elixir -v):

  • Phoenix version (mix deps):
  • NodeJS version (node -v):
  • NPM version (npm -v):
  • Operating system:

    Expected behavior

Code should not reload.

Actual behavior

@zedshaw says code doesn't hot reload on twitter without any specifics. In fairness, he only had 140 characters.

Most helpful comment

I have already fixed this in master, see #1850.

All 3 comments

His problem was:

I wrote HelloPhoenix.web not Web and got endpoint error then couldn't reload page and had to restart.


So the code typo broke hot-reload and when he fixed the file it didn't reload automatically.

I have already fixed this in master, see #1850.

Dang that was lickety split!

Was this page helpful?
0 / 5 - 0 ratings