elm-lang / elm-make

A build tool for Elm projects
BSD 3-Clause "New" or "Revised" License
175 stars 45 forks source link

`Success! Compiled 0 modules.` is confusing #148

Closed ghost closed 6 years ago

ghost commented 7 years ago

From Slack:

A: I'm trying to run elm-make on a file but I get: Success! Compiled 0 modules.. The same file works with elm-reactor so I'm not sure what I'm doing wrong :confused: B: You can't run the compiled file, right? B: I see Success! Compiled 0 modules. a lot but I'm sure I can still run the compiled file. A: hmmm. yeah sorry, it works

I think Success! Compiled 0 modules. is confusing when there's also Success! Compiled 1 module..

process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

ghost commented 7 years ago

Is the message Compiled x modules. necessary? What about just Success!?

evancz commented 6 years ago

Made it so the message is Success! when there is nothing to compile.

dustinfarris commented 6 years ago

actually the "0 modules" message was beneficial to me when I was troubleshooting why elm-make wasn't working

ghost commented 6 years ago

How do you mean?