"Random" compilation errors when importing modules

Update: when I run rm -rf _build in my project home directory, and then I run iex -S mix, the app is recompiled successfully and I can import all modules in iex. However, running a standalone file using elixir path/to/file still produces the error “** (CompileError) lib/servy/handler.ex:6: module Servy.Plugins is not loaded and could not be found”

Any ideas as to what’s going on?