We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1804282 commit f47d323Copy full SHA for f47d323
bin/build-site.js
@@ -2,9 +2,7 @@
2
3
'use strict';
4
5
-var http_server = require('http-server');
6
var fs = require('fs');
7
-var watchGlob = require('watch-glob');
8
var replace = require('replace');
9
var exec = require('child-process-promise').exec;
10
var mkdirp = require('mkdirp');
@@ -72,6 +70,9 @@ function buildEverything() {
72
70
}
73
71
74
if (!process.env.BUILD) {
+ const http_server = require('http-server');
+ const watchGlob = require('watch-glob');
75
+
76
watchGlob('**', buildJekyll);
77
watchGlob('docs/static/less/*/*.less', buildCSS);
78
http_server.createServer({root: '_site', cache: '-1'}).listen(4000);
0 commit comments