This module is only concerned with the mechanisms to connect a browser client to a express server & receive updates.
$ npm i browser-sync-middleware --save
var browserSyncMiddleware = ;app
(string or array of strings). Paths to files, dirs to be watched recursively, or glob patterns.
(anymatch-compatible definition) Defines files/paths to be ignored. The whole relative or absolute path is tested, not just filename. If a function with two arguments is provided, it gets called twice per path - once with a single argument (the path), second time with two arguments (the path and the fs.Stats object of that path).
this is a static path name. default
public. for example:
Copyright © 2014-2015 ysk2014 Released under the MIT license.