update gulp and package files

This commit is contained in:
bckelley
2024-09-08 17:04:27 -05:00
parent 5b8a55b52e
commit 3650a1c74e
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ gulp.task('sass', async function () {
// Start a local server with BrowserSync & watch files for changes
gulp.task('serve', function () {
browserSyncInstance.init({
server: './' // Serve from the root directory (or specify a different folder)
server: './src' // Serve from the root directory (or specify a different folder)
});
gulp.watch('src/scss/**/*.scss', gulp.series('sass')); // Watch for Sass changes
+4 -4
View File
@@ -1,14 +1,14 @@
{
"name": "sass_starter_pack",
"name": "sass_workflow",
"version": "1.0.0",
"description": "Starter pack using gulp",
"description": "Sass Workflow using gulp",
"type": "commonjs",
"main": "index.js",
"scripts": {
"start": "gulp"
},
"author": "Brad Traversy",
"license": "ISC",
"author": "bckelley",
"license": "CC BY-NC-SA 4.0",
"engines": {
"node": ">=18.8.0"
},