aboutsummaryrefslogtreecommitdiffstats
path: root/server.moon
diff options
context:
space:
mode:
Diffstat (limited to 'server.moon')
-rw-r--r--server.moon4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.moon b/server.moon
index 5a79039..fb33806 100644
--- a/server.moon
+++ b/server.moon
@@ -14,6 +14,9 @@ flush = ->
with x = buffer
buffer = ''
+import insert_loader from require 'duct_tape'
+insert_loader!
+
error "please specify the module to build as an argumnet" unless arg[1]
require "app.#{arg[1]}"
@@ -21,6 +24,7 @@ require "app.#{arg[1]}"
print "<!DOCTYPE html>
<html>
<head>
+ <script src=\"fengari-web.js\"></script>
<title>MMM: lunar low-gravity scripting playground</title>
</head>
<body>