Skip to content
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

Configure to compile Main always #187

Open
mm-tfx opened this issue Aug 29, 2018 · 2 comments
Open

Configure to compile Main always #187

mm-tfx opened this issue Aug 29, 2018 · 2 comments

Comments

@mm-tfx
Copy link

mm-tfx commented Aug 29, 2018

Hi

I have project structured like this

-project
|--src
    |--handlers
        |--Module.elm
|--Main.elm
|--elm-package.json

I would like to modify Module.elm and then compile Main.elm
I started playing around with Linter Elm Make: Set Main Paths but I cannot make it work.

Seems like I don't know which path notation (Linux/Windows) I should use?

I am using Atom on Windows 10. I am still using Elm 0.18.

Thanks

@halohalospecial
Copy link
Collaborator

halohalospecial commented Aug 29, 2018

Hi, have you also checked the Always Compile Main option?

@mm-tfx
Copy link
Author

mm-tfx commented Aug 29, 2018

Sure. I started with this option and it worked well when I have all Elm module in main directory.
Then I moved couple modules into handlers directory and some problems started to appear.
Then I thought that linter-elm is looking for src explicitly so I change project setup to the one that I described earlier.
But unfortunately the Main.elm is not compiled and I receive error messages from linter that it cannot locate Main.elm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants