🐛 bug report
If Elm compilation fails then parcel serve/watch auto-recomplitaion mostly breaks. If the entry-point Elm file (i.e. Main.elm) is edited then recompilation will work, but if any non-entry-point Elm file is edited recompilation does not occur. Since the entry point (Main.elm) is very rarely touched in most Elm projects it makes parcel serve/watch basically unusable w/ Elm.
SSCCE here
🎛 Configuration (.babelrc, package.json, cli command)
https://github.com/cmditch/parcel2-elm-error/blob/master/package.json
🤔 Expected Behavior
Every time an Elm file is touched, regardless of the compilation state, parcel serve/watchshould recompile the project.
💁 Possible Solution
No idea. The watcher seems to work on all Elm files, but only when the last compilation was a success.
💻 Code Sample
Clone and run yarn; yarn hot in the SSCCE here and see instructions here to reproduce.
🌍 Your Environment
| Software |
Version(s) |
| Parcel |
2.0.0-nightly.639+059d502f |
| Node |
12.22.0 |
| npm/Yarn |
yarn 1.22.10 |
| Operating System |
macOS 10.15.7 |
Thanks,
Coury
🐛 bug report
If Elm compilation fails then
parcel serve/watchauto-recomplitaion mostly breaks. If the entry-point Elm file (i.e. Main.elm) is edited then recompilation will work, but if any non-entry-point Elm file is edited recompilation does not occur. Since the entry point (Main.elm) is very rarely touched in most Elm projects it makesparcel serve/watchbasically unusable w/ Elm.SSCCE here
🎛 Configuration (.babelrc, package.json, cli command)
https://github.com/cmditch/parcel2-elm-error/blob/master/package.json
🤔 Expected Behavior
Every time an Elm file is touched, regardless of the compilation state,
parcel serve/watchshould recompile the project.💁 Possible Solution
No idea. The watcher seems to work on all Elm files, but only when the last compilation was a success.
💻 Code Sample
Clone and run
yarn; yarn hotin the SSCCE here and see instructions here to reproduce.🌍 Your Environment
Thanks,
Coury