title: Proper way of using grunt-bump and grunt-ng-constant together
body: <p>While seemingly the tasks execute in proper order (bump first and than ngconstant creating a config file based on package.json-s version property) i think they actually execute parallely, and ngconstant reads up the package.json before bump has written it.</p>
  
  <pre><code>Running "bump" task
  md
  &gt;&gt; Version bumped to 2.0.6 (in package.json)
  
  Running "ngconstant:production" (ngconstant) task
  Creating module config at app/scripts/config.js...OK
  </code></pre>
  
  <p>The resultung package.json has 2.0.6 as version while config.js has 2.0.5.</p>
  
  <p>My ngconstant config simply uses </p>
  
  <pre><code>grunt.file.readJSON('package.json')
  </code></pre>
  
  <p>to read up the json.</p>
  
  <p>So, basically the question is, how can i make sure that bump's write is finished, before reading up the json with ngconstant, and what actually causes the above?</p>
  
  <p><strong>EDIT</strong>: the original Gruntfile: <a href="https://github.com/dekztah/sc2/blob/18acaff22ab027000026311ac8215a51846786b8/Gruntfile.js" rel="nofollow">https://github.com/dekztah/sc2/blob/18acaff22ab027000026311ac8215a51846786b8/Gruntfile.js</a></p>
  
  <p><strong>EDIT</strong>: the updated Gruntfile that solves the problem: <a href="https://github.com/dekztah/sc2/blob/e7985db6b95846c025ba0b615bf239c4f9c11e8f/Gruntfile.js" rel="nofollow">https://github.com/dekztah/sc2/blob/e7985db6b95846c025ba0b615bf239c4f9c11e8f/Gruntfile.js</a></p>