Skip to content

Watcher goes into infinite loop if test directory contains clojure code without -test namespace #2

@jharwig

Description

@jharwig

The circumspec watcher will enter an infinite loop after adding a clojure file to the test directory without a -test namespace. I added a test_helper.clj file for some common code for tests and hit this issue.

Looks like the last-watched function checks the map of timestamps by appending -test to any clojure file it finds.

See sample project: http://github.com/jharwig/circumspec_watch_bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions