- name: Copy project local files
synchronize:
- src: "{{ project.local_path }}/web/app/themes/sage/dist"
+ src: "{{ project_root }}/current/web/app/themes/sage/dist"
dest: "{{ deploy_helper.new_release_path }}/web/app/themes/sage"
group: no
owner: no
rsync_opts: --chmod=Du=rwx,--chmod=Dg=rx,--chmod=Do=rx,--chmod=Fu=rw,--chmod=Fg=r,--chmod=Fo=r
I’m not on Windows, so I’m a little uncertain about this, but I think you’ll need to run your npm/bower/gulp commands from either the Windows side or from within the VM, but not both because the differing OS versions may conflict (for node_modules/
etc.).
Do you get any particular error? Is your Trellis version as recent as Jan 16, 2016?
Keep an eye on ansible_local
coming soon to Trellis, which should simplify some of your steps on Windows.