1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00
Files
tabler/build/browsersync.js
2019-04-27 14:56:58 +02:00

20 lines
332 B
JavaScript
Executable File

const bs = require('browser-sync').create();
bs.init({
watch: true,
server: {
routes: {
'/': 'tmp',
'/dist': 'dist',
'/libs': 'static/libs',
'/img': 'static/img',
}
},
files: ['tmp/**/*', 'dist/css/*.css', 'dist/js/*.js'],
watchOptions: {
ignoreInitial: true
},
notify: false
});