title: A faster route to deploying static content in Magento 2? Dev to Live etc?
body: <p>This is my environment. Please note this is also set in the relevant development modes and production modes.</p>
  
  <pre><code>Dev:
  https://ar.dev.loc/
  https://en.dev.loc/
  
  Live:
  https://ar.site.com/
  https://en.site.com/
  </code></pre>
  
  <p>I am using a multi store setup with Arabic and English and everything is working well including building modules and template building.</p>
  
  <p>However, if I make a change to any less file or JS file (despite using grunt less or grunt watch) I have to run the following commands on my development environment everything single time to see them on my local machine.</p>
  
  <pre><code>$ rm -rf var/cache var/page_cache var/view_preprocessed pub/static
  $ mkdir pub/static
  $ bin/magento setup:static-content:deploy
  $ bin/magento setup:static-content:deploy ar_SA
  $ grunt exec less // sometimes I leave this do this
  $ grunt // I swap between these
  </code></pre>
  
  <p>This takes a long time to do this process everytime. It is frustrating as I am fast coder and like to see CSS and Less immediately on the site and not wait around.</p>
  
  <p>The quick approach what our team is doing is actually making changes in <code>pub/static</code> and then we ship these to less and <code>app/design</code> etc and then do the process above and then git.</p>
  
  <p>Live server is pretty much the same. Git pull and then maintenance mode (madness on a live ecom site! Who build M2?? Then we run commands above - downtime of 45mins)</p>
  
  <p>Surely there must be a quicker way for our deployment, development and team to work better and to see changes faster without downtime!</p>
  
  <p><strong>Even Magento 2 official documentation says your LIVE site needs to go into maintenance and downtime mode to publish content - this is not an option for us. The CTO are not happy. Simply absurd.</strong></p>
  
  <p>Related questions with people asking about faster development same issues:</p>
  
  <p><a href="https://stackoverflow.com/questions/37495665/css-changes-reflect-only-after-deploy-command-in-magento2?rq=1">Css changes reflect only after deploy command in magento2</a></p>
  
  <p><a href="https://stackoverflow.com/questions/33957631/magento-2-static-cache?rq=1">Magento 2 static cache</a></p>
  
  <p><a href="https://stackoverflow.com/questions/35033840/changes-to-css-and-javascript-applies-only-after-deploying-static-content?rq=1">Changes to CSS and JavaScript applies only after deploying static content</a></p>
  
  <p>So I want to collate all the issues and resolve this.</p>