1.0.3 • Published 5 years ago

bs-ftp-sync v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

This is BrowserSync plugin. It uploads backend rendered files over ftp, while using proxy server.

Config example

...
.browserSync({
    proxy: 'http://your-website',
    files: ['**/*.(js|css)'],
    plugins: [
        {
            module: require('bs-ftp-sync'),
            options: {
                files: '**/*.(php|twig)',
                host: 'your-host',
                user: 'your-user',
                password: 'your-password',
                path: '/your-website/www/wp-content/themes/theme-name/',
            }
        },
    ],
    serveStatic: [{
        route: '/wp-content/themes/theme-name/dist/',
        dir: ['./dist'],
    }],
})
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago