docs-site
docs-site copied to clipboard
Setting up File Watcher and LiveReload on Windows
Step 3 in the readme seems to be Mac/Linux specific:
$ LIVERELOAD=true gulp
I'm not 100% sure what this translates to in Windows. Is LIVERELOAD an environment variable? Why is 'gulp' in there?
Yes, gulp is the toolchain to start a build, and LIVERELOAD=true tells gulp to refresh the browser tabs when the docs build is done. Following might work for Windows?
C:\> set LIVERELOAD=true
C:\> gulp
@mgroves does that work? Once we figure this out, I'll add it to the README.
I guess so, except that I'm getting "No gulpfile found". Is this only supposed to work with a copy of the docs-site repo (I've been trying it on tutorials-contrib). If yes, will it somehow pull in the tutorials-contrib (and other satellite repos)?
Yes, you'll need a copy of docs-site
and tutorials-contrib
.
I've written some notes for how to setup the workspace specifically for tutorials https://docs.couchbase.com/tutorials/tutorial-template/sample.html#workspace
It'd be great to know how those work out, nobody has had a chance to test them out yet.