Permalink
Browse files

simplifying site script.

  • Loading branch information...
1 parent 682c3a6 commit 6b430e6fc3ac72e5eb08254705ae3d279971d153 themadcreator committed Apr 6, 2014
Showing with 6 additions and 1 deletion.
  1. +6 −1 run-site.sh
View
@@ -1,4 +1,9 @@
#!/bin/sh
+# Rebuild library and site
cake build site
-exec node -- ./node_modules/.bin/coffee ./site/index.coffee
+
+# We must use exec here so that signals can propagate to the web server.
+# Otherwise, the ports will not close and the restart will fail with
+# EADDRINUSE
+exec coffee ./site/index.coffee

0 comments on commit 6b430e6

Please sign in to comment.