<< Back to previous view

[TNS-34] File changes not picked up if reader conditionals used on ns requires Created: 12/Apr/15  Updated: 21/May/15

Status: Open
Project: tools.namespace
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: toni helenius Assignee: Stuart Sierra
Resolution: Unresolved Votes: 5
Labels: None


 Description   

Refresh does not work when using reader conditionals on ns requires

(ns foo
  #?(:clj (:require clojure.string)))

(def a "b")

Refresh after file changes is always

:reloading ()
:ok

Sample project: https://github.com/whodidthis/refresh-rc



 Comments   
Comment by Leon Grapenthin [ 21/Apr/15 4:48 AM ]

I can confirm having the same problem.

Comment by Sean Doig [ 13/May/15 9:38 AM ]

Maybe the team don't agree but I'm not sure this is a bug - 1.7.0 hasn't landed yet.

In the interim those having problems can use this temporary fork, which is hardcoded to read :clj features.

Comment by Magnar Sveen [ 21/May/15 11:52 AM ]

Can confirm that using Sean's temporary fork seems to solve the issue.





Generated at Wed May 27 00:59:53 CDT 2015 using JIRA 4.4#649-r158309.