title: "svelte-kit dev" command not creating an index.html file while build
body: <p>I'm trying to create a <code>svelte app</code> using <code>svelte-kit</code>. And I'm having an internal larval server where I'm using the build folder for opening the <code>index.html</code> file.</p>
  <p>But the problem is for every time I am doing a change I have to do the <code>svelte-kit build</code>.</p>
  <p>And initially, the <code>svelte-kit build</code> also does not create the index.html. So, we configure some adapters to overcome this issue.</p>
  <p>I want the same behavior while running the <code>svelte-kit dev</code> also. I don't know what are configurations I needed to change. Currently while I run dev it creates <code>.svelte-kit</code> folder.</p>
  <pre><code>// svelte.config.js file
  import adapter from '@sveltejs/adapter-static';
  
  const config = {
  kit: {
      adapter: adapter(),
      
      // hydrate the &lt;div id=&quot;svelte&quot;&gt; element in src/app.html
      target: '#svelte',
  
      vite: {
          optimizeDeps: {
              include: ['just-throttle', 'dayjs']
          }
      }
  
     },
  };
  
  export default config;
  </code></pre>