Hacker News new | ask | show | jobs
by heinrichhartman 495 days ago
Can you modify this to listen to a signal (e.g. SIGUSR) instead, for triggering the REPL?
2 comments

I went with SIGINT because it's more fun to press ctrl-c than to pgrep and kill. If you'd rather use SIGUSR1, just change SIGINT to SIGUSR1 line 654.
OK. RTFM. You already did! Wonderful.