From a443e5c432cd5654a2215fb8bb846615b2c0ca7e Mon Sep 17 00:00:00 2001 From: Marley Date: Mon, 27 Nov 2023 20:55:40 -0800 Subject: [PATCH] fixed gulp watch jesus --- gulpfile.js | 49 +- wordfire/dl/sound_weddingbells.wav | 1711 ++++++++++++++++++++++++++++ wordfire/dl/sound_weddingmarch.wav | 1711 ++++++++++++++++++++++++++++ 3 files changed, 3446 insertions(+), 25 deletions(-) create mode 100644 wordfire/dl/sound_weddingbells.wav create mode 100644 wordfire/dl/sound_weddingmarch.wav diff --git a/gulpfile.js b/gulpfile.js index d6533a3..811a32b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -57,37 +57,34 @@ let site = '' function html() { const stream = src(htmlFiles) - .pipe(tap(file => { - const path = file.path.split('/') - site = path[path.indexOf('saudade') + 1] - })) - .pipe(posthtml([ - ...posthtmlPlugins, - posthtmlModules({ - plugins: posthtmlPlugins - }), - ])) - .pipe(rename(path => { - path.basename = 'index' - })) - .pipe(dest('.')) - - if (browserSync.active) { - stream.pipe(browserSync.stream()) - } + .pipe(tap(file => { + const path = file.path.split('/') + site = path[path.indexOf('saudade') + 1] + // console.log(path[path.length - 1]) + })) + .pipe(posthtml([ + ...posthtmlPlugins, + posthtmlModules({ + plugins: posthtmlPlugins + }), + ])) + .pipe(rename(path => { + path.basename = 'index' + })) + .pipe(dest('.')) return stream } function css() { const stream = src(cssFiles) - .pipe(sourcemaps.init()) - .pipe(postcss(postcssPlugins)) - .pipe(rename(path => { - path.basename = 'style' - })) - .pipe(sourcemaps.write()) - .pipe(dest('.')) + .pipe(sourcemaps.init()) + .pipe(postcss(postcssPlugins)) + .pipe(rename(path => { + path.basename = 'style' + })) + .pipe(sourcemaps.write()) + .pipe(dest('.')) if (browserSync.active) { stream.pipe(browserSync.stream()) @@ -100,7 +97,9 @@ exports.watch = function () { browserSync.init(bsConfig) watch(cssFiles, {ignoreInitial: false}, css) + watch(htmlFiles, {ignoreInitial: false}, html) + watch('**/index.html').on('all', browserSync.reload) } exports.build = parallel(html, css) diff --git a/wordfire/dl/sound_weddingbells.wav b/wordfire/dl/sound_weddingbells.wav new file mode 100644 index 0000000..cd1c0d1 --- /dev/null +++ b/wordfire/dl/sound_weddingbells.wav @@ -0,0 +1,1711 @@ + + + + Wayback Machine + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + +
+ + + + +
+
+
+ + +
+
+
+ +
+
+
+
+
+
+
+ + + +
+
+
+

Hrm.

+

The Wayback Machine has not archived that URL.

+

Click here to search for all archived pages under + http://home.earthlink.net/~wordfire/sitebuildercontent/sitebuilderfiles/. +

+
+
+
+
+ + + + \ No newline at end of file diff --git a/wordfire/dl/sound_weddingmarch.wav b/wordfire/dl/sound_weddingmarch.wav new file mode 100644 index 0000000..15c199f --- /dev/null +++ b/wordfire/dl/sound_weddingmarch.wav @@ -0,0 +1,1711 @@ + + + + Wayback Machine + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + +
+ + + + +
+
+
+ + +
+
+
+ +
+
+
+
+
+
+
+ + + +
+
+
+

Hrm.

+

The Wayback Machine has not archived that URL.

+

Click here to search for all archived pages under + http://home.earthlink.net/~wordfire/sitebuildercontent/sitebuilderfiles/. +

+
+
+
+
+ + + + \ No newline at end of file