Skip to content

Gulp serve does not properly reload jade changes. #1606

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

Closed
BenDiuguid opened this issue Feb 3, 2016 · 2 comments
Closed

Gulp serve does not properly reload jade changes. #1606

BenDiuguid opened this issue Feb 3, 2016 · 2 comments
Labels

Comments

@BenDiuguid
Copy link

I tested this by creating a fresh app with the yo angular-fullstack (running v 3.3.0) command choosing gulp and jade.

Reproduction steps.
after the npm i and bower install finishes.
gulp serve (works correctly)
change main.jade
save the file
console logs that the file is reloaded
Finally the page does not change like it is supposed to.

P.S. I have tested the same process with HTML instead of Jade and the HTML scaffolded app works correctly.

@Awk34
Copy link
Member

Awk34 commented Feb 3, 2016

Can you test changing these lines to the following?

    plugins.watch(paths.client.views)
        .pipe(plugins.plumber())
        .pipe(plugins.jade())
        .pipe(gulp.dest('.tmp'))
        .pipe(plugins.livereload());

@Awk34 Awk34 added the bug label Feb 3, 2016
@BenDiuguid
Copy link
Author

That worked perfectly! Thanks!

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

No branches or pull requests

2 participants