Skip to content

Commit 77cea11

Browse files
committed
Update gulp watch task
1 parent c2a7f41 commit 77cea11

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export { transformCopySVGs as 'copy-svgs' }
179179

180180
export const build = series(parallel(styles, generateData), transformCopySVGs)
181181
export const watch = () => {
182-
gulpWatch(paths.logos + '**/*.{scss,json}', styles)
182+
gulpWatch(paths.logos + '**/*.scss', styles)
183183
gulpWatch(paths.logos + '**/*.json', generateData)
184-
gulpWatch(paths.logos + '**/*.{scss,json,svg}', transformCopySVGs)
184+
gulpWatch(paths.logos + '**/*.svg', transformCopySVGs)
185185
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"packageManager": "[email protected]+sha512.77f3fb0dbbd881835d7bd1217deabdf7ed77fc4ec4f363df64fc3cb986404abf6c437661041080f5c5d225103508e7c9ea30cb2742b7e942675d05a10af2d7b9",
2222
"scripts": {
2323
"prepare": "husky",
24-
"postinstall": "nuxt prepare && npm run prebuild && ($CI = true || (dependabot-config && editor-config))",
24+
"postinstall": "nuxt prepare && ($CI = true || (dependabot-config && editor-config))",
2525
"new-artist": "node scripts/new-artist.mjs",
2626
"new-logo": "node scripts/new-logo.mjs",
27-
"predev": "gulp build",
27+
"predev": "npm run prebuild",
2828
"dev": "open http://localhost:3000 && concurrently -k \"gulp watch\" \"nuxt dev\"",
2929
"prebuild": "gulp build",
3030
"build": "nuxt build",

0 commit comments

Comments
 (0)