Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remember: When you rename dirs you have to reflect it everywhere.

  • Loading branch information...
commit d29ddb7f95f63442161ab93bbc23c71e20dc1736 1 parent b244f02
Malte Ubl cramforce authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 demo-server.js
6 demo-server.js
View
@@ -17,14 +17,14 @@
var http = require('http');
var fs = require('fs');
-var SOURCE_DIR = 'test/fixtures';
+var SOURCE_DIR = 'test/fixtures/sample-module';
var SOURCEMAP_PREFIX = '/_sourcemap';
var SOURCEMAP_PATH_PREFIX_REGEX = /^\/_sourcemap\//;
var ORIGINAL_SOURCE_PATH_PREFIX = 'http://127.0.0.1:1337/_js';
var ORIGINAL_SOURCE_PATH_PREFIX_REGEX = /^\/_js\//;
-require('./module-server').from(SOURCE_DIR + '/build',
- SOURCE_DIR + '/sample-module/module-graph.json', run);
+require('./module-server').from(SOURCE_DIR + '/../build',
+ SOURCE_DIR + '/module-graph.json', run);
function run(err, moduleServer) {
if (err) {
Please sign in to comment.
Something went wrong with that request. Please try again.