-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not actually building when it says it does #230
Comments
I am also experiencing this. I need to remove elm.js and re-save my code for it to actually build. |
This should not be the case. Are you able to share your setup? Could this be the issue? #220 |
I'm running elm 0.19.1 on w10, not using parameters. This only happened when I was using the --output parameter. |
The output parameter is a very common parameter that everybody use. So I think is about something else. It is difficult to tell without any other information. |
I just tried just doing First build:
Build when elm.js exists:
Have no clue what's going on here.. seems like elm.js is being executed instead of overwritten? I should open a ticket over at elm/compiler. |
"Compiled in DEV mode..." is usually a message you get in the browser console. Are you getting that message in the terminal? |
Yeah, super weird! It's the same message I get in the chrome console. |
I suspect this is a executable PATH issue
This explains why you see the output I'd suggest you use another name other than see also https://discourse.elm-lang.org/t/weird-action-by-caused-by-elm-js/4365/2 |
@choonkeat That makes a whole lot of sense! I'm not able to test it right now, but you're probably correct. |
When running with elm-live, as soon as I make a change it says it is building and succeeds. But the change does not appear in the built elm.js file. Also, if I intentionally introduce a compilation error, elm-live still reports success. Here is the command I am using:
elm-live src/Main.elm --pushstate -- --output=elm.js
Am I missing something or is this an actual bug? I am running version 4.0.2 of elm-live.
Work-around is to quit elm-live, do a regular elm make and then restart elm-live again. Extremely frustrating and kind of defeating the purpose. But I must use elm-live since reactor does not work with client-side routing.
The text was updated successfully, but these errors were encountered: