webpack - Set local and remote directories to be synced in remote-ftp (Atom package) -
i'm using atom editor , remote-ftp sync local files shared host.
i'm creating project vue-webpack-boilerplate has
./dist
folder production files.
i want sync ./dist folder server remote-ftp upload project files. search in remote-ftp documentation didn't find solution.
is there way specify folder sync server? other packages?
possible solutions:
- using .ftpignore : no can't because still folder upload, need it's files not itself.
- change server root ./dist : it's possible don't want upload project has larger size.
sorry writing problems.
in case remote-sync
package seems better choice, can configure both local source , remote target directory:
{ // … source: './dist', target: '/path/on/server' }
wiki
Comments
Post a Comment