Update comments

This commit is contained in:
Quentin Hocdé
2020-11-27 16:15:36 -05:00
parent 2e7bb3b482
commit 8e5c4e5c83

View File

@@ -2,7 +2,6 @@ import { buildScripts } from './scripts.js';
import { concatVendors } from './concat.js'; import { concatVendors } from './concat.js';
import { compileStyles } from './styles.js' ; import { compileStyles } from './styles.js' ;
import { generateSpriteSVG } from './svgs.js'; import { generateSpriteSVG } from './svgs.js';
import paths from '../mconfig.json'; import paths from '../mconfig.json';
// Create an named instance in one file... // Create an named instance in one file...
@@ -15,6 +14,12 @@ bs.init({
notify: false notify: false
}); });
// Build scripts, compile styles, concat vendors and generate the svgs sprite on first hit
buildScripts();
concatVendors();
compileStyles();
generateSpriteSVG();
// and call any methods on it. // and call any methods on it.
bs.watch( bs.watch(
[ [
@@ -26,12 +31,6 @@ bs.watch(
] ]
).on('change', bs.reload); ).on('change', bs.reload);
// Build scripts and compile styles on first hit
buildScripts();
concatVendors();
compileStyles();
generateSpriteSVG();
// Watch scripts // Watch scripts
bs.watch( bs.watch(
[ [