On 26 Apr 2014, at 21:47, Erin Noe-Payne wrote:
> Hey all, I just wanted to share a tool I've been using for developing on rave.
>
> Basically when I do a lot of work with static web files - css, js,
> jsps, etc - I don't want to have to rebuild the project in order to
> refresh the page and see updates. To handle this, I wrote a simple
> node.js script that recursively watches the source directory and
> copies any changed files to the target build directory.
Wookie has a "widget watcher" thread that looks for .wgt files being dropped into the deploy
folder - this reuses some of the code from Tomcat that checks for added/modified WARs. I reckon
it could also be repurposed for live editing as well, I'd just never thought of using it that
way :)
>
> I've polished it up a bit and posted it on github here:
> https://github.com/autoric/liveedit.
>
> If you have any suggestions for a better workflow, want to submit a
> pull requests against that script, or whatever, feel free. No
> guarantees - this has just been useful for me so I figured I would
> share.
>
> Cheers
> Erin
|