1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/build/browsersync.js
2019-06-01 16:09:52 +02:00

22 lines
383 B
JavaScript
Executable File

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