Skip to content

Commit

Permalink
Example simple static server implementation #10
Browse files Browse the repository at this point in the history
* Run with npm run server
* Nice working isolated examples
  • Loading branch information
styczynski committed Dec 20, 2017
1 parent 176c9cc commit 924bf7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,14 @@ gulp.task('examples', function(){
}, false, {
version: webpackConfigCommon(null, 'dev')['$VERSION']
});
});


/*
* Runs server serving examples
*/
gulp.task('server', function(){
nodemon({
'script': './server.js'
})
});
1 change: 1 addition & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
width: 50%;
height: 400px;
overflow: hidden;
border: none;
}
</style>

Expand Down

0 comments on commit 924bf7b

Please sign in to comment.