20 lines
339 B
JavaScript
Executable File
20 lines
339 B
JavaScript
Executable File
/**
|
|
* 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"]
|
|
}
|
|
}
|
|
]
|
|
}); |