Open miketlawrence opened 7 years ago
DocumentJS had this, I haven't implemented it for bit-docs yet. I don't re-run npm start
to see changes however, I just keep a web-server running.
Well I had http-server
running, but I wasn't seeing the changes from the .mustache templates reflected in the .html files when I reloaded the page. When I re-ran npm start
I saw the .html regenerate with my changes.
Am I missing something that kept the changes from showing before I re-ran npm-start
?
Ah, didn't notice what npm start
actually does. I assumed it started a server to host the files. It actually runs the theme to produce code. I typically just run node node make-example.js -f
manually. If you drop the -f
it "might" be able to rebuild the docs with your local copy of files instead of re-installing everything.
bit-docs
is still very alpha
-ish software. My goal is to clean it up after DoneJS 1.0 is released.
Is there some part of the theme you are working on? I can point you in the right direction.
Ok cool, I'll try node node make-example.js -f
next time.
I was planning to run through the HTML and add some assistive technology markup, so no one spot in particular -- just starting on index.html.
I was on Gitter with @phillipskevin earlier and he helped me get my bearings a bit.
A watch/reload task would be great when editing .mustache .less or .js files. That way there wouldn't be a need to re-run
$ npm start
to see changes.