Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedphpcitizen created an issue. See original summary.
Comment #3
joelpittetThanks for noticing that, fixed and commited to -dev