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

partials still registered between targets #65

Open
jayenashar opened this issue Feb 12, 2016 · 1 comment
Open

partials still registered between targets #65

jayenashar opened this issue Feb 12, 2016 · 1 comment

Comments

@jayenashar
Copy link

Gruntfile.js:

        front: {
            files: [{
                src: 'src/main/templates/front/index.hbs',
                dest: 'src/main/webapp/index.html'
            }],
            templateData: {},
            partials: 'target/main/templates/front/*.hbs'
        },
        blog: {
            files: [{
                src: 'src/main/templates/blog/index.hbs',
                dest: 'src/main/webapp/blog/index.html'
            }],
            templateData: {},
            partials: 'target/main/templates/blog/*.hbs'
        },

output:

Running "compile-handlebars:front" (compile-handlebars) task

Running "compile-handlebars:blog" (compile-handlebars) task
>> css is already registered, clobbering with the new value. Consider setting `registerFullPath` to true

seems like front/css.hbs shouldn't be accessible to compile-handlebars:blog

@patrickkettner
Copy link
Owner

happy to review any PR, but I dont have the bandwidth to fix this in the short term

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