-
Notifications
You must be signed in to change notification settings - Fork 66
Tie roxy './ml local deploy modules' into grunt watch #436
Comments
watch from Can Roxy only deploy the files changed as opposed to the entire src directory? [1] - https://github.com/nativelogix/xquerrail2.framework/blob/master/gulpfile.js#L114-L120 |
You could tell grunt (or gulp) to call "ml local load...". See "ml load -h" for details; it's for loading a single file. It defaults to the content database, but you can tell it to use the modules database instead. |
@dmcassel thanks for the tip I have created a gist using gulp / watch https://gist.github.com/rlouapre/f4d1e257dda43364995f |
I like it. @grtjn, something to add to the slush generator? |
Ha, would be nice if gulp could leverage roxy properties directly, instead of you needing to duplicate settings inside gulpfile.js. Maybe by reading ./ml local info with some output format? :) Yes, definitely worth considering to add to the slush template. I'll open a ticket.. |
Hereby referenced.. ;-) |
THANKS! =O) |
I think that this kind of integration is a combination of #437 and work external to Roxy. With that in mind, I propose closing this ticket. Anybody see something else to be done here? |
A ticket was opened in the slush project, +1 for closing.. |
This is more of a question... Would it be possible to tie roxy
./ml local deploy modules
into agrunt watch
? This way when my local grunt watch detects a change to my LESS or JS code it will push the built code to into my local MarkLogic DB?The text was updated successfully, but these errors were encountered: