Why this package ?
the browser-sync cannot reload development server when the code has some bug and server can not start, so the reload module cannot be load and communication between build-tool and web-server broken. every thing is failure.
This module start server file and watch development files by browser-sync. when server initalized, this module will force chrome reload-page.
usage:
var chromeDev = ; interface IOptions url:string; // open url after retrive "online" signal server:string; // server file will be execution, Promise<any> // run this job before start
NOTE: when server application bootstrap, it must send "online" message to parent process
example:
server.js
var express=;var app=;app
server-dev.js
var chromeDev = ;var app =
run application in development mode
> node server-devjs
run application in production mode
> node serverjs