markbates / refresh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avoid refreshing when _test.go file was updated

paganotoni opened this issue · comments

I've seen refresh rebuilds the app even when the files i'm changing are test files. I don't know if this should be a default but at least it would be good to have an option to avoid recompiling when _test.go changed.

Some of the ideas that come into my mind here are:

  • Make by default not to recompile when _test.go changed
  • Add an option like ignore_tests in the config
  • Allow to specify _test.go as an excluded extension

@markbates I'm thinking to prepare a PR that allows to define ignored_sufixes in the YML, does this sounds good to you ?.

is there progress on this one? I might be able to have a look ignored_suffixes is not done right? there is ignored folders