Static GitHub Issues

[163] Odd behavior when working in npm run dev

prev: add expired headers to CSS and JS files
next: Sweetalert2

First let me say, Nuxt is awesome! I'm looking forward to the 1.0 release!

Ok so when working on m templates, eventually I get the below (screenshot) effect on my pages. The only way to fix it it seems is to go into my layout and delete the contents of the <head> block, save and reload the page manually, then add it back in. After that all goes back to normal, but not for long before it creeps up again.

Here's my page:

<template lang="jade">
  div
    ThickPageBanner
    CustomerLogin
</template>

<script>
  import ThickPageBanner from '~components/ThickPageBanner'
  import CustomerLogin from '~components/CustomerLogin'

  export default {layout: 'public',components: {ThickPageBanner, CustomerLogin}}
</script>

Here's my layout:

<template>
    <html class="no-js" lang="">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="x-ua-compatible" content="ie=edge">
            <title>Title</title>
            <meta name="description" content="">
            <meta name="viewport" content="width=device-width, initial-scale=1">

            <link rel="icon" type="image/png" href="favicon.png">

            <link type="text/css" rel="stylesheet" href="http://fast.fonts.net/cssapi/e1ef451d-c61f-4ad3-b4e0-e3d8adb46d89.css"/>
            <link rel="stylesheet" href="/assets/css/main-min.css">

            <script src="/assets/js/dist/modernizr-custom.js"></script>
        </head>
        <body class="">
            <!--[if lt IE 8]>
                <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
            <![endif]-->
            <div class="wrapper">
                <SiteHeader/>
                <main class="main">
                    <nuxt/>
                </main><!-- main -->
                <SiteFooter/>
            </div><!-- wrapper -->


            <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
            <script src="/assets/js/dist/main-min.js"></script>

        </body>
    </html>
</template>

<script>
import SiteHeader from '~components/SiteHeader'
import SiteFooter from '~components/SiteFooter'

export default {
  components: {
    SiteHeader,
    SiteFooter
  }
}
</script>

Duplication of page

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c138">#c138</a>)</em></sub></div>