netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Anyone use Emacs + CIDER?

Open anthonyspizza opened this issue 10 years ago • 7 comments

Sorry for the newbie question. I'm trying to follow the development guide, but whenever I make a change and then compile the file (C-c C-k), I'm not seeing my changes. I have tried uninstalling the cards and then reinstalling. It only seems to work after I kill CIDER and jack in again.

anthonyspizza avatar Dec 30 '15 20:12 anthonyspizza

I use emacs but found CIDER too much hassle. Just running a repl through lein instead.

Saintis avatar Dec 30 '15 20:12 Saintis

Not an Emacs user, but if you make changes to a card, you need to run (load-file "src/clj/game/cards.clj") in a REPL for the card changes to take effect. Don't know if that's helpful to you.

nealterrell avatar Dec 30 '15 20:12 nealterrell

@nealterrell I have tried that also inside the CIDER repl, but with no luck. I will try @Saintis suggestion and use lein. Appreciate the quick responses!

anthonyspizza avatar Dec 30 '15 20:12 anthonyspizza

I'm still having the same issue with lein repl. The only way I am able to see my change is to restart the game server and reload the REPL. I'll keep investigating.

anthonyspizza avatar Dec 30 '15 21:12 anthonyspizza

@jaerme try M-x cider-refresh (docs). That should reload all of the namespaces on the classpath and save you from killing and restarting cider.

juxtin avatar Mar 21 '16 16:03 juxtin

Hey @jaerme, any news on this issue? Did @holguinj 's suggestion help you? If not, feel free to reopen this issue.

queueseven avatar Apr 13 '16 19:04 queueseven

cider-refresh did not work, it threw an error.

anthonyspizza avatar Feb 04 '17 21:02 anthonyspizza