mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
24 lines
841 B
JavaScript
24 lines
841 B
JavaScript
var browserSync = require("browser-sync").create();
|
|
var historyApiFallback = require('connect-history-api-fallback');
|
|
|
|
browserSync.init({
|
|
|
|
server: {
|
|
baseDir: './',
|
|
middleware: [ historyApiFallback() ]
|
|
},
|
|
|
|
files: [
|
|
'index.html',
|
|
'dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-core/dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-datatable/dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-documentlist/dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-login/dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-search/dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-upload/dist/**/*.{html,htm,css,js}',
|
|
'node_modules/ng2-alfresco-viewer/dist/**/*.{html,htm,css,js}'],
|
|
|
|
reloadDelay: 1000
|
|
});
|