Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong gulp task name for eleventy post #20

Open
bhenbe opened this issue May 5, 2019 · 1 comment
Open

Wrong gulp task name for eleventy post #20

bhenbe opened this issue May 5, 2019 · 1 comment

Comments

@bhenbe
Copy link

bhenbe commented May 5, 2019

The gulp task is wrong on the post "Keeping Sass simple and speedy on Eleventy".

The console action is gulp watch & eleventy --serve but the task in the code example is gulp.task('css', function() {.

The console returns an error message Task never defined: watch.

You need to add
gulp.task('watch', function() { gulp.watch('./src/scss/*.scss', ['css']) });
or something like that in the example to work properly.

@SimonEast
Copy link

SimonEast commented May 4, 2021

Not sure if the blog's gonna be updated (but I hope it does, because the post is reasonably useful!). But it should also be noted that the ampersand method of running multiple commands concurrently does not work on Windows. An elegant cross-platform solution is https://www.npmjs.com/package/concurrently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants