atom-elmjutsu icon indicating copy to clipboard operation
atom-elmjutsu copied to clipboard

Save ElmjutsuDum* files in a customizable folder

Open lucarakuten opened this issue 6 years ago • 2 comments

Now ElmjutsuDum* are saved in the same folder of the elm file, this is causing the watcher to fire and compile the file three times (one when an elm file is modified, one when the ElmjutsuDum* file is created and one when the ElmjutsuDum* file is deleted).

It would be nice to have these files being created in a path specified in the configuration.

lucarakuten avatar Jul 03 '19 06:07 lucarakuten

Hi @lucarakuten, using temp files is a hack to extract inferred type annotations from elm make. I wasn't able to make it work when temp files are not in the same directory as the source :(

halohalospecial avatar Jul 03 '19 11:07 halohalospecial

Interesting. So I guess the solution is to add a filter to the watcher so that it ignores these files.

lucamug avatar Jul 04 '19 00:07 lucamug