nyc-server
v0.0.2
Published
nyc server
Readme
nyc-server
Simple nyc server for running applications or test unit suites.
Usage
- install
npm i [email protected] -E
npm i [email protected] -E- script
"test": "nyc --require nyc-server node index.js"The server will run by default on port 3005 and the front-end will point to localhost:3005.
If your app is running behind nginx you may want to override this with the variables NYC_SERVER_PORT & NYC_SERVER_WS_ENDPOINT.
This implementation is too simple, so if you catch some error enable logs by NYC_SERVER_LOGS=true.
Issues
If any, please issue it.
