#!/usr/bin/env node

// Copy over the index.html
var fs = require("fs");
var path = require("path");
fs.createReadStream(path.join(__dirname, "index.html"))
  .pipe(fs.createWriteStream("index.html"));

// Launch the server.
require("./index.js");

@@ -94,16 +94,49 @@
 path%22);%0A
+var mkdirp = require(%22mkdirp%22);%0A%0A
 fs.creat
@@ -229,16 +229,347 @@
 ml%22));%0A%0A
+mkdirp(%22example-viewer-dist%22, function (err) %7B%0A  fs.createReadStream(path.join(__dirname, %22bundle.min.js%22))%0A    .pipe(fs.createWriteStream(path.join(%22example-viewer-dist%22, %22index.html%22));%0A  fs.createReadStream(path.join(__dirname, %22styles.css%22))%0A    .pipe(fs.createWriteStream(path.join(%22example-viewer-dist%22, %22styles.css%22));%0A%7D);%0A%0A
 // Launc

Update CLI script to copy over css, bundle