In Gruntfile.js

browserSync: {
            dev: {
                bsFiles: {
                    src : [
                        'css/*.css',
                        'templates/*.php',
                        'images/optimized/*.{png,jpg,gif}',
                        'js/build/*.js'
                    ]
                },

needs to be:

browserSync: {
            dev: {
                bsFiles: {
                    src : [
                        'css/*.css',
                        'templates/*.twig',
                        'images/optimized/*.{png,jpg,gif}',
                        'js/build/*.js'
                    ]
                },

only *.php changes to *.twig.

Comments

phpcitizen created an issue. See original summary.

joelpittet’s picture

Status: Active » Fixed

Thanks for noticing that, fixed and commited to -dev

  • joelpittet committed 27065e7 on 7.x-4.x
    Issue #2621704 by joelpittet: Grunt upgrade
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.