npm - Facebook Flux todomvc tutorial - cant start up a simple node http-server because of package.json file -
warning: question noob :)
i'm trying play facebook flux todolist tutorial(flux-todomvc). want run http server on localhost port 8000 , running script in json.package file looks this:
"start": "http-server -a localhost -p 8000"
the problem package.json file comes source has this:
"start": "watchify -o js/bundle.js -v -d js/app.js"
so if call "nmp start" calls above , no server starts up. don't know how edit package.json can run server.
i tried making custom "script" attribute call didn't work. how edit package.json file, or intended server application different way?
it builds app. since pure client side open index.html , able run sample.
Comments
Post a Comment