dev-pkg.go 362 B

1234567891011121314151617
  1. // Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package main
  5. import (
  6. "log"
  7. )
  8. func runDevPkg() {
  9. buildOptions, err := commonPkgSetup(devMode)
  10. if err != nil {
  11. log.Fatalf("Cannot setup: %v", err)
  12. }
  13. runEsbuildServe(*buildOptions)
  14. }