2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-06-07 22:24:22 +01:00
|
|
|
|
2023-08-24 23:02:42 +01:00
|
|
|
//go:build !plan9
|
|
|
|
|
2022-06-07 22:24:22 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
)
|
|
|
|
|
|
|
|
func runDev() {
|
|
|
|
buildOptions, err := commonSetup(devMode)
|
|
|
|
if err != nil {
|
|
|
|
log.Fatalf("Cannot setup: %v", err)
|
|
|
|
}
|
2022-08-31 02:05:49 +01:00
|
|
|
runEsbuildServe(*buildOptions)
|
2022-06-07 22:24:22 +01:00
|
|
|
}
|