We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e4558 commit b47463dCopy full SHA for b47463d
binary/.gitignore
@@ -1 +1,2 @@
1
build/
2
+nvu-binary*
binary/main.go
@@ -956,7 +956,8 @@ func runNvuCli() {
956
// Execute script directly - shebang will find node in modified PATH
957
if runtime.GOOS == "windows" {
958
// Windows: spawn and wait (can't use syscall.Exec)
959
- cmd := exec.Command(nvuScript, os.Args[1:]...)
+ // Windows can't execute .js files directly, need to use node
960
+ cmd := exec.Command(nodePath, args...)
961
cmd.Env = env
962
cmd.Stdin = os.Stdin
963
cmd.Stdout = os.Stdout
0 commit comments