mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
21 lines
378 B
JavaScript
Executable File
21 lines
378 B
JavaScript
Executable File
const bs = require('browser-sync').create();
|
|
|
|
bs.init({
|
|
watch: true,
|
|
server: {
|
|
routes: {
|
|
'/': 'tmp',
|
|
'/dist': 'dist',
|
|
'/dist/fonts': 'fonts',
|
|
'/libs': 'static/libs',
|
|
'/img': 'static/img',
|
|
},
|
|
},
|
|
files: ['tmp/**/*', 'dist/css/*.css', 'dist/js/*.js'],
|
|
watchOptions: {
|
|
ignoreInitial: true,
|
|
},
|
|
notify: false,
|
|
open: false
|
|
});
|