Hi everyone,
I'm working on an sbt-web plugin for webpack that works as a source file task. It seems to be working decently with one huge caveat, it runs twice for every pass. I can't figure out why, or even exactly how to debug what's going on, so any help in either regard would be greatly appreciated. What I do know is that if I invoke "activator run," then load a page, my plugin gets invoked 2x, while all of the others, such as JSHint and Stylus, only get invoked once.
My plugin is actually doing a lot less than those other plugins, so I suspect there is some smallish piece of configuration that I'm missing. Does anybody know what might cause my plugin to be invoked twice, or what someone needs to do to prevent that? If interested, for reference, the code in question is
here in GitHub.
Thanks in advance!
Joe