<< Back to previous view

[TNS-34] File changes not picked up if reader conditionals used on ns requires Created: 12/Apr/15  Updated: 21/Apr/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: 1
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.





[TNS-6] Attempt to reload deleted file Created: 14/Dec/12  Updated: 14/Dec/12

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

Type: Defect Priority: Major
Reporter: Stuart Sierra Assignee: Stuart Sierra
Resolution: Unresolved Votes: 1
Labels: None


 Description   

I can't identify the exact circumstances, but I have seen events where a source code file has been deleted but clojure.tools.namespace.repl/refresh still tries to reload it. Because the file doesn't exist, there's an exception when you try to load it, so you're stuck.






Generated at Tue May 05 07:17:52 CDT 2015 using JIRA 4.4#649-r158309.