shakyShane / browser-sync-spa

Better Single Page App support for BrowserSync
29 stars 15 forks source link

Use with Grunt #3

Open cbaziotis opened 9 years ago

cbaziotis commented 9 years ago

Hi! How can i use browser-sync-spa with Grunt?

i tried this:

 browserSync: {
            bsFiles: {
                src : [
                    'styles/*.css'
                ]
            },
            options: {
                server: {
                    baseDir: "./"
                },
                plugins: [
                    {
                        module: "bs-html-injector",
                        options: {
                            files: ['*.html','scripts/**/*.html']
                        }
                    },
                    {
                        module: "browser-sync-spa"
                    }
                ]
            }
        }

but in browserSync UI in the Plugins view, i see only the HTML Injector plugin listed.

rafa-suagu commented 8 years ago

I have the same question