Skip to content
This repository has been archived by the owner on Jan 20, 2018. It is now read-only.

Changes not detected when elm-webpack "cache" option is enabled #24

Closed
opsb opened this issue Dec 2, 2016 · 3 comments
Closed

Changes not detected when elm-webpack "cache" option is enabled #24

opsb opened this issue Dec 2, 2016 · 3 comments

Comments

@opsb
Copy link

opsb commented Dec 2, 2016

With the following config

    module: {
      loaders: [
        {
          test:    /\.elm$/,
          exclude: [/elm-stuff/, /node_modules/],
          loader:  'elm-hot!elm-webpack?cache=true&verbose=true&warn=false'
        },

changes are only detected in Main.elm. If I remove the cache option they're detected in any elm file. I don't know webpack well enough to know whether this is an inevitable consequence of enabling the cache option.

@fluxxu
Copy link
Owner

fluxxu commented Dec 2, 2016

Hi,

All elm-hot do is to inject code to elm-webpack's result. If elm-webpack does not detect change, elm-hot does not get executed at all.

@opsb
Copy link
Author

opsb commented Dec 2, 2016

ok, sounds like I should open an issue on elm-webpack then.

@opsb
Copy link
Author

opsb commented Dec 2, 2016

@opsb opsb closed this as completed Dec 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants