-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with multiple source paths #41
Comments
Perhaps this is a duplicate of #28 |
Seems very likely. But the error directly refers to the ns form instead of specific vars. |
@lgrapenthin Right. Currently you get I created a reduction in the form of a minimal repository capable of reproducing it: https://github.com/mfikes/weasel-src-paths |
Unless this is slurped somewhere, I currently don't get the WARNING (versions specified above). |
Also hit me when #44 fixed another issue I was having. EDIT: scratch that, the workaround works, I just can't stop doing typos to save my life |
For the record: In order to be able to require your own project's CLJS-Namespaces, you have to add the source-directories to leiningens |
I am not sure if this is a problem with piggieback or weasel and would need some time to narrow it down if this is necessary:
I have a cljs.user namespace in my /src/dev/cljs/cljs/user.cljs. "src/dev/cljs" is part of the cljsbuild source vector if I am in the dev profile.
I also have a myproject.core namespace in /src/cljs/myproject/core.cljs. "src/cljs/" is obviosuly also part of the cljsbuild source vector.
When I start the weasel REPL, it complains that it can't find myproject.core. This is happening with weasel 0.5.0, clojurescript 2665 and cljsbuild-0.1.5-SNAPSHOT. With Clojurescript 2511, piggieback 0.1.3 and weasel 0.4.2 I don't have the problem.
The text was updated successfully, but these errors were encountered: