title: How to run Vue Application in background on windows
body: <p>I have an Vue application created with vue-cli (<code>vue create my_app</code>).
  It runs normally when I open the terminal, run the command <code>npm run serve</code> and access localhost:8080, but it stopped when I close the terminal.</p>
  
  <p>How can I keep the program running when the terminal is closed ?. I have tried to use <a href="http://pm2.keymetrics.io/" rel="nofollow noreferrer">pm2</a> and <a href="https://www.npmjs.com/package/node-windows" rel="nofollow noreferrer">node-windows</a> but without success.</p>
  
  <p>package.json:</p>
  
  <pre><code>"scripts": {
      "serve": "vue-cli-service serve",
      "build": "vue-cli-service build",
      "lint": "vue-cli-service lint"
    }
  </code></pre>