Releases: lydell/elm-watch
1.0.0-beta.3
- Fixed: The previous version fixed a case where using for example
Browser.Dom.focus
ininit
caused elm-watch to always reload the page instead of hot reloading. It was an issue withTask
s. However, there’s more to the story.Http.task
returns a cancelable task. They still caused elm-watch to do full instead of hot reloads! This version fixes that problem.
1.0.0-beta.2
-
Fixed: Using
Task
s, such asBrowser.Dom.focus "my-id"
, ininit
used to cause elm-watch to always consider the return value ofinit
to have changed and therefore to reload the page instead of hot reloading. This was due to anull
vsundefined
oversight in some Elm kernel code. I’ve added a workaround for it in elm-watch (basically, considernull
andundefined
to be equal.) -
Fixed: You can now switch compilation mode if there are compilation errors. Example: You have some
Debug.log
in your code and switch to optimize mode. Now you get compilation errors becauseDebug.log
is not allowed in optimize mode. Previously, that resulted in a state where you had to remove allDebug.log
before you could do anything again. Now, elm-watch handles that case where the selected mode is one thing (optimize) but the running code has another mode (standard), and allows you to switch back to standard mode (or debug mode, if appropriate).
1.0.0-beta.1
Initial release.