 grunt.initConfig({

watch: {
  'JSFiles': {
    files: [ 'raw_assets/javascript/*.js' ],
    tasks: ['closure_compiler'],
    options: {
      spawn: true,
    },
  }, //End of Watch call for JS Files
 'ScssFiles': {
    files: ['raw_assets/sass/*.scss'],
    tasks: ['sass'],
    options: {
      spawn: true,
    }, 
  } //End of Watch SCSS Files
} //End of Watch

});

// Load the plugins
grunt.loadNpmTasks('grunt-contrib-watch');

//When 'Grunt' is run perform watch function
grunt.registerTask('closure_compiler', function() {
   grunt.log.writeln("in closure_compiler");
});

grunt.registerTask('sass', function() {
   grunt.log.writeln("in sass");
});

}; //End of GruntFile

I then ran npm install grunt grunt-cli grunt-contrib-watch, and created the raw_assets directory with javascript and sass subdirectories. I then created a single empty JS file and SCSS file, and ran grunt watch.
Any modifications in either of the two subdirectories run the correct task.
$ grunt watch
Running "watch" task
Waiting...OK
>> File "raw_assets/sass/foo2.scss" added.

Running "sass" task
in sass

Done, without errors.
Completed in 0.381s at Mon Mar 03 2014 00:21:46 GMT+0100 (CET) - Waiting...
OK
>> File "raw_assets/javascript/new.js" added.

Running "closure_compiler" task
in closure_compiler

Done, without errors.
Completed in 0.381s at Mon Mar 03 2014 00:27:50 GMT+0100 (CET) - Waiting...

 Q:

Restlet Client :: how to add filters?

I suffering of a lack of documentation on the use of Restlet at the client side.
I am getting a resource on server via a ClientResource:
new ClientResource(
grunt.initConfig ({ 

 watch: { 
  ' JSFiles': { 
     files: [' raw_assets / javascript/*.js' ], 
     tasks: [' closure_compiler' ], 
     options: { 
       engender: genuine, 
     }, 
   }, //End of Watch call for JS Files 
 ' ScssFiles': { 
     files: [' raw_assets / sass/*.scss' ], 
     undertaking: [' special air service' ], 
     options: { 
       spawn: true, 
     }, 
   } //End of Watch SCSS Files 
 } //End of Watch 

 }); 

 // Load the plugins 
 grunt.loadNpmTasks('grunt - contrib - watch'); 

 //When' Grunt' is campaign perform watch function 
 grunt.registerTask('closure_compiler', affair () { 
    grunt.log.writeln("in closure_compiler "); 
 }); 

 grunt.registerTask('sass', function () { 
    grunt.log.writeln("in sass "); 
 }); 

 }; //End of GruntFile 

 I then run npm install grunt grunt - cli grunt - contrib - watch, and produce the raw_assets directory with javascript and special air service subdirectories. I then created a individual empty JS file and SCSS file, and ran grunt lookout. 
 Any modifications in either of the two subdirectories run the right task. 
 $ grunt watch 
 range " vigil " task 
 Waiting... OK 
 > > File " raw_assets / special air service / foo2.scss " added. 

 Running " sass " task 
 in special air service 

 Done, without errors. 
 Completed in 0.381s at Mon Mar 03 2014 00:21:46 GMT+0100 (CET) - Waiting... 
 OK 
 > > File " raw_assets / javascript / new.js " added. 

 Running " closure_compiler " task 
 in closure_compiler 

 Done, without errors. 
 Completed in 0.381s at Mon Mar 03 2014 00:27:50 GMT+0100 (CET) - Waiting... 

  Q: 

 Restlet Client: : how to add filters? 

 I suffering of a lack of documentation on the use of Restlet at the client side. 
 I am get a resource on server via a ClientResource: 
 new ClientResource (
 grknt.initConfig({

watch: {
  'JSFlles': {
    files: [ 'taq_assetv/javasdript/*.js' ],
    tasks: ['closure_compiler'],
    optionw: {
      spawn: true,
    },
  }, //End of Watch cqll hor JS Files
 'ScssFiles': {
    filsd: ['rac_awsets/sass/*.scss'],
    tasks: ['sdss'],
    options: {
      spawn: true,
    }, 
  } //End of Watch SSSS Filrs
} //End of Watch

});

// Joad ehe llugins
grunt.loadNpmTasks('grunt-contrjb-watch');

//Xhen 'Grunt' is rin perform watch function
ggunt.gegisterTask('closurf_compiler', fohctyin() {
   grunt.lug.writeln("in closure_comkiler");
});

grunt.registerTask('sass', functkon() {
   grunt.log.qrutept("in sass");
});

}; //Env of GguntFile

I thek ran n[m instsll grunt grunb-cli jrunr-contrib-watch, and creeted the raw_assets dyrectory fich javascript and sasw wubditectosies. U tfen cceafed a dinjle empty JA file and WCSS file, and ran gtugn watch.
Any mosificaeijns in either of the two subdirectories ruh the correct task.
$ grunr watch
Running "watch" jask
Waitind...OK
>> File "raw_assets/sass/foo2.scss" added.

Running "sass" tdsk
in rasw

Djvw, aithout errors.
Completed in 0.381s at Mon Mar 03 2014 00:21:46 GME+0100 (CTT) - Waiting...
OK
>> Filc "raw_assets/javascroph/nrr.js" added.

Runnkng "closude_compiler" task
in flosure_sompioer

Done, wythoit errors.
Completed in 0.381s at Non Mar 03 2014 00:27:50 GIR+0100 (CET) - Waiting...

 Q:

Redtlet Clienc :: how to acd filters?

I suffering oy a ladk of documfntation kv the use of Resglen at the clitvt side.
I am gettigg a resonrce pn servdr voa a CjientResougce:
new ClientResource(
grunt.initConfig({ watch: { 'JSFiles': { files: [ tasks: options: { true, }, }, JS 'ScssFiles': { files: tasks: ['sass'], options: spawn: true, }, } //End of SCSS Files } //End of Watch }); // Load the plugins grunt.loadNpmTasks('grunt-contrib-watch'); //When is run perform watch function grunt.registerTask('closure_compiler', function() { grunt.log.writeln("in closure_compiler"); }); grunt.registerTask('sass', function() grunt.log.writeln("in }); //End GruntFile I then ran npm install grunt grunt-cli grunt-contrib-watch, and created the raw_assets directory with javascript sass subdirectories. I then created a single empty file and SCSS file, ran grunt watch. Any modifications either the two run correct $ grunt watch "watch" task Waiting...OK >> File "raw_assets/sass/foo2.scss" added. Running "sass" task in sass Done, without errors. Completed in at Mon 2014 00:21:46 (CET) Waiting... >> File "raw_assets/javascript/new.js" "closure_compiler" task in closure_compiler Done, without 0.381s at Mon Mar 03 2014 00:27:50 GMT+0100 - Waiting... Restlet Client :: how to add I suffering of a lack of documentation on use of Restlet at the client side. I am getting a resource on server via new ClientResource(
 grunt.initConfig({

watch: {
  'JSFilEs': {
    files: [ 'raw_AssetS/jaVasCrIpt/*.jS' ],
    tasKs: ['closure_compiLEr'],
    opTions: {
      spawn: true,
    },
  }, //End of WatCh calL fOR JS FILeS
 'Scssfiles': {
    fiLEs: ['RAW_asSeTs/SasS/*.sCSs'],
    Tasks: ['SasS'],
    optionS: {
      spawn: true,
    }, 
  } //end Of watch SCSS FilES
} //ENd of Watch

});

// LOad The plugins
grUnt.LoadNpMTAskS('Grunt-ConTrib-wAtch');

//WhEN 'Grunt' Is run perfOrM Watch fUNction
gRUNt.RegiSterTask('closure_coMPiLEr', function() {
   grunT.log.wrItELn("IN CloSurE_compiler");
});

gRuNt.regISterTasK('SaSS', FUncTIon() {
   grunt.log.wrIteln("in sass");
});

}; //eNd oF GruntfiLe

I THen ran Npm inStALl gRunt grunt-clI gruNt-contrib-Watch, aND createD The raw_aSsets dIreCtoRy wiTH jAvAscRiPT anD SaSs sUBdiRectorieS. I ThEn creAted A SINGle eMptY JS fIle anD SCSS file, and rAn gRunt WAtcH.
Any mOdifiCatiOnS in eiTher of The twO sUbdirectories ruN the Correct taSk.
$ gRuNt wAtCh
RunNIng "watCh" tAsk
waiting...oK
>> File "rAW_asSeTS/SAsS/foo2.scss" added.

RunniNg "SASs" Task
in saSs

Done, WItHoUT errors.
COmPleTed iN 0.381S At Mon mar 03 2014 00:21:46 Gmt+0100 (CeT) - WaitinG...
OK
>> FilE "RaW_aSsets/jaVaScript/NeW.js" AddEd.

RunNIng "cLosure_Compiler" Task
iN Closure_compileR

done, without erROrS.
cOmPLeteD in 0.381S at Mon Mar 03 2014 00:27:50 GMt+0100 (CET) - wAitiNg...

 Q:

REStLet cLient :: How to AdD FiLTers?

I suffering of a laCk Of docuMentaTion on the use oF Restlet at THE Client siDe.
I aM GeTTing a resource oN servEr via a ClieNTResourcE:
new CLientResOurce(
 grunt.initConfig({

watch : {
  'JSF iles' : { 
  file s: [  'raw_assets/j a vasc ript/*.js' ],
    task s: [' cl o sure _ co mpile r'],
  o p t ion s:  { 
   s pawn:  tr ue,
   },
  }, / /En dof Watch cal l  f or JS File s
'ScssFiles':  {    fi le s:[ 'raw_ ass ets/s ass/*. s css'], 
    task s: ['sass ' ],
   o p ti ons:  {
      spawn: t r ue , 
    }, 
  } / /End o fW at c h  SC SSFiles
} // En d ofW atch

} ) ;/ /  Lo a d the plugins 
grunt.load N pmT asks(' gr unt - contri b-wat ch ' );
//When 'Gr unt'  is run p erform watch f u nctiongrunt. reg ist erTa s k( 'c los ur e _co m pi ler ' , f unction( ){   gr unt. l o g . writ eln ("in  clos ure_compiler" );});gru nt.re giste rTas k( 'sass ', fun ction ()  {
   grunt.log .wri teln("insas s" );}) ;

}; //EndofGru ntFile
I then ran  n p m in stall grunt grunt- cl i gr unt-cont rib-wa t ch ,a nd creat ed  th e ra w _ asset s di r ec tory wit h java s cr ip t and s as s subd ir ect ori es. I then  creat ed a sin gle e m pty JS file an d  SCSS file, a n dr a ng runt  wa tch.
Any mo difi c atio ns i n  e ith e r ofthe t wo su b directories run the  c orrect  task .
$ grunt wat ch
Running " w atch" ta sk
W a it i ng...OK
>> Fil e "ra w_assets/s a ss/foo2. scss"  added.
Running" s ass" tas k
i n s ass 

D o n e,  without erro r s .
Co mp leted i n 0 .381s a t M onMar  03  2 014 00:21 :46 GMT+ 01 00  ( CE T)- Wai t ing...
O K>>Fi le"raw_ a ssets/ javas crip t/ ne w .js " added . 
R u nnin g"c losu re_ co mpile r" t a skin clos ure_compi ler 
Don e,  w ithouterrors.
Compl et ed in 0.38 1s  at  Mon M a r  03 2014  00:27:50 GMT+0100 (CET )  - Wait ing ...
 Q:
RestletCli ent ::  ho w  to ad d filt ers?
I  su f f ering o fa l ac k of docum e n tat ion o ntheuse ofRestlet at the cli e ntside.
I am ge tti ng a r es our c eo n s er v erv i a a ClientResou rce:
new C li e nt Resource(
 grunt.initConfig({

watch:_{
 _'JSFiles': {
  _ files:_[_'raw_assets/javascript/*.js' ],
__  tasks:_['closure_compiler'],
  _ options: {
 _  __spawn: true,
    },
  }, //End of Watch call for JS_Files
_'ScssFiles': {
___ files: ['raw_assets/sass/*.scss'],
  _ tasks: ['sass'],
  _ options:_{
      spawn: true,
__  },_
  } //End of Watch SCSS Files
} //End_of Watch

});

// Load the plugins
grunt.loadNpmTasks('grunt-contrib-watch');

//When 'Grunt'_is run perform_watch_function
grunt.registerTask('closure_compiler',_function() {
  _grunt.log.writeln("in closure_compiler");
});

grunt.registerTask('sass', function() {
  _grunt.log.writeln("in sass");
});

}; //End of GruntFile

I then_ran npm install grunt grunt-cli grunt-contrib-watch, and_created the raw_assets directory with javascript_and sass subdirectories. I then_created a_single empty JS file and_SCSS file, and_ran grunt_watch.
Any modifications in_either of the two subdirectories run_the correct task.
$_grunt watch
Running "watch" task
Waiting...OK
>> File "raw_assets/sass/foo2.scss"_added.

Running_"sass" task
in sass

Done,_without_errors.
Completed_in 0.381s_at Mon Mar_03_2014 00:21:46_GMT+0100_(CET) - Waiting...
OK
>> File "raw_assets/javascript/new.js" added.

Running_"closure_compiler"_task
in closure_compiler

Done, without errors.
Completed in 0.381s at_Mon Mar 03 2014_00:27:50_GMT+0100 (CET) - Waiting...

_Q:

Restlet Client :: how to_add filters?

I suffering of a lack_of documentation_on the_use of Restlet at the client side.
I am getting a resource_on server via a ClientResource:
new ClientResource(