Grunt twig support

Created on 23 November 2015, about 9 years ago
Updated 22 April 2024, 8 months ago

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.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024