mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-23 18:00:00 +00:00
20 lines
339 B
JavaScript
20 lines
339 B
JavaScript
/**
|
|
* Require Browsersync
|
|
*/
|
|
var bs = require('browser-sync').create();
|
|
|
|
/**
|
|
* Run Browsersync with server config
|
|
*/
|
|
bs.init({
|
|
server: "app",
|
|
files: ["app/css/*.css"],
|
|
plugins: [
|
|
{
|
|
module: "bs-html-injector",
|
|
options: {
|
|
files: ["app/*.html"]
|
|
}
|
|
}
|
|
]
|
|
}); |