Created
October 25, 2009 22:14
-
-
Save sshirokov/218281 to your computer and use it in GitHub Desktop.
Run an erlang repl with yaws loaded and serving
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Run a emacs repl with yaws loaded and configured | |
(defvar yaws-path "~/Applications/YAWS") | |
(defun run-erlang-yaws () | |
(interactive) | |
(let ((inferior-erlang-machine-options `("+K" "true" | |
"-pa" ,(concat yaws-path "/lib/yaws/ebin") | |
"-yaws" "debug" | |
"-run" "yaws" | |
"-yaws" "id" "default"))) | |
(run-erlang))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment