Skip to content

timgthomas/repro-vercel-dev-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo demonstrates an issue running vercel dev if the build command runs a process that doesn't finish.

If the build script in package.json is finite, everything works fine:

{
  "scripts": {
    "start": "vercel dev",
    "build": "snowpack build"
  }
}

However, if it launches a process for watching changes, for example, Vercel's dev build doesn't run (although, in this case, the Snowpack build does complete):

{
  "scripts": {
    "start": "vercel dev",
    "build": "snowpack build --watch"
  }
}

You'll also notice that the dev script is never run. To be fair, this behavior isn't explicitly described in the documentation, so this part is likely not a bug (rather, an assumption on my part).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published