pushstate-asset-server
v0.0.7
Published
An asset server that returns an index file for all unresolved routes
Downloads
9
Readme
pushstate-asset-server
A server that
installing
npm install pushstate-asset-server
usage
var server = PushStateAssetServer({
root: serverRoot,
port: 9000, // default 9000
index: 'index.html', // default 'index.html'
host: 'localhost', // default 'localhost'
debug: false, // default false
livereload: false // default false
});
// start the server
server.start();
// stop the server
server.stop();