It works fine for me (also get Atom's elmjutsu plugin, made by same person 
as linter-elm-make and they work wonderfully together).

So first of all the src directory in elm-package.json should be as it 
normally is in elm-package.json, the root directory of all your elm source, 
mine for example is:
```json
    "source-directories": [
        "web/elm"
    ],
```
In linter-elm-make I also have 'Lint as you type' enabled, 'Always compile 
main' enabled (be sure to set your project main file(s) as per 
linter-elm-make instructions!  I.E. open the file, open command pallete, 
type 'main' and choose "Linter Elm Make: Set Main Paths".  With that it 
works wonderfully and real-time for me (and again, get elmjutsu).


On Wednesday, September 28, 2016 at 4:50:16 AM UTC-6, Rupert Smith wrote:
>
> My proejct structure is like this:
>
> /
> - elm-pacakge.json
> - /elm-stuff
> - /src
>  - /elm
>   - lots of elm files
>
> However, when running linter-elm-make it will say "Error, I cannot find 
> module 'Log'" - perhaps a "source-directories" needs to be added to 
> elm-package.json to locate it? So I try adding source directories like this:
>
>     "source-directories": [
>         "src/elm"
>         ,"src/elm/log"
>         ,...
>     ],
>
> But still no joy. What is the format of the source-directories? Can I do 
> things like "src/elm/**"?
>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to