Comments (15)
Looks like #156 fixes the reload detection problem in IntelliJ. I guess we'll give @jkbbwr a couple days to confirm, and we'll close out this issue. Thanks everyone! ❤️
from elixir-koans.
I had to actually turn off safe write in IntelliJ (Appearance & Behavior > System Settings > Synchronization > check off Use "safe write".
My fix didn't really help as after a few edits, the watcher will fail to reload the right file.
It seems IntelliJ write temp files like
/elixir-koans/lib/koans/03_sigils.ex___jb_old___
/elixir-koans/lib/koans/03_sigils.ex___jb_tmp___
And it writes multiple times when I edit a file which I think causes the watcher to not keep up.
from elixir-koans.
Thanks very much!
from elixir-koans.
@cliche818 - I'm not experiencing the issue you mention in not keeping up with edits, but I'm curious whether that was impacted by reloading for all files not just the .ex files. Would filtering the jb_tmp file suffix as in #156 help at all?
from elixir-koans.
@leapingfrogs Doesn't seem to help, I am using the latest version of IntelliJ with the save write checked to try this out. Same thing happens as before. It does reload a few times, but then it dies. Sometimes, it even says Code.LoadError could not load [the file I just changed].
from elixir-koans.
@cliche818 you mentioned above both "jb_tmp" and "jb_old" files being generated. The "normalize" solution only accounts for "tmp" files. Do you think that might be related?
from elixir-koans.
yea reload aint working
from elixir-koans.
@jkbbwr @cliche818 can you tell me a bit more about your setup?
I am running mix meditate
in iTerm and editing the files in IntelliJ and it seems happy.
Oh and all of this is in OSX.
I just pushed an update the helped the reload in Ubuntu. Maybe that solved it?
from elixir-koans.
Seems to magically fix it for me.
Linux devbox2 4.9.8-1-ARCH #1 SMP PREEMPT Mon Feb 6 12:59:40 CET 2017 x86_64 GNU/Linux
IDEA 2017.1 EAP
from elixir-koans.
Works for me on OSX, but not when I am on Windows 7 64bit. I am using IntelliJ IDEA 2016.3.4. On Windows, it seems to either have Code.LoadError (elixir) lib/code.ex:657: Code.find_file/2 (elixir) lib/code.ex:319: Code.load_file/2 or it is behind on my edits like it is 2 versions behind what I have actually done.
from elixir-koans.
Grrr... I'll have to test this on a Windows box to debug.
from elixir-koans.
@cliche818 can you try again with latest master
? We have updated some dependencies.
And, I may have access to a Windows box debug this. Could tell me a bit about your setup @cliche818 ? What do I need to configure and how are you actually running mix meditate
?
from elixir-koans.
@felipesere Still the same as before, tried on IntelliJ IDEA 2016.3.6 first then 2017.1 since I needed to update my IDE. It's Windows 7 64bit.
Just went to elixir-lang.org and got the installer for Windows. I am using elixir version 1.3.2, I haven't updated in like half a year, doubt it matters for this bug. I just use the window's command prompt to run mix meditate.
from elixir-koans.
Any movement on this?
from elixir-koans.
This has been resolved as we have @caspg changes in our tree.
from elixir-koans.
Related Issues (20)
- 04_atoms.ex has unclear expectations HOT 7
- Autoreload doesn’t work with unicode paths HOT 3
- watcher does not work as expected HOT 9
- Range.range?/1 is deprecated HOT 3
- typo: divison -> division HOT 1
- Test duplication on GenServer koans HOT 1
- warning: the Collectable protocol is deprecated for non-empty lists HOT 3
- FunctionClauseError when starting newly cloned elixir-koans HOT 4
- help with koan "15 processes: Waiting for a message can get boring" HOT 1
- Question on Patern Matching HOT 6
- Koans might be more educational when inverted HOT 1
- Match failure in 15_processes.ex - ex_unit_no_meaningful_value HOT 7
- Koan about rounding pitfalls
- Should the koans prefer `in/2` over `member?/2`? HOT 1
- Fix failing tests & consider adding CI
- Trying to run mix deps.get throws an error for OTP 25 HOT 1
- weird answer for process koan about message queue HOT 2
- Domain registration HOT 6
- question HOT 4
- Purpose/expectation of the first struct koan is unclear HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir-koans.