bhauman / figwheel-main

Figwheel Main provides tooling for developing ClojureScript applications
https://figwheel.org
Eclipse Public License 1.0
640 stars 93 forks source link

launching figwheel.main from a script with ":mode :serve" ignores settings in figwheel-main.edn like :watch-dirs #293

Open zengxinhui opened 3 years ago

zengxinhui commented 3 years ago
(ns user
  (:require
   [mount.core :as mount]
   [figwheel.main.api :as fig]))

(mount/defstate figwheel
  ;;:start (fig/start {:mode :serve} "dev")
  :start (fig/start "dev")
  :stop (fig/stop "dev"))

I notice that :serve mode ignores settings in figwheel-main.edn like :watch-dirs