Replies: 1 comment 5 replies
-
If fable's compiler changes |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using Fable to create my React app. Fable will transform F# code to JavaScript.
I noticed that changes to my compiled code don't get picked up by Snowpack, changing the text doesn't update the screen for example.
I made a small repo to demonstrate the problem: https://github.com/nojaf/snowpack-fable-bug
There I compile script.fsx to src/bin/script.js.
Now changes to the
Moon
component are not being picked up by Snowpack or at least not the hot reload in the UI part.Changes to the
Sun
component are being picked up as expected.Now I'm wondering why that is?
You can try this out without actually compiling the F# script, changes to the strings in the
src/bin/script.js
also illustrate the problem.Beta Was this translation helpful? Give feedback.
All reactions