I was happily using figwheel all day. I terminated the process by entering :cljs/quit.
When I try to restart figwheel lein figwheel, I'm greeted with this message from leiningen:
'figwheel' is not a task. See 'lein help'
Running lein help lists many tasks I can perform, but figwheel is not among them.
Here's what my project.clj looks like (extra stuff elided):
(defproject myproject
...
:dependencies [...]
:plugins [[lein-environ "1.0.2"]
[lein-cljsbuild "1.1.1"]
[lein-asset-minifier "0.2.4"]]
...
:profiles {:dev {:dependencies [...
[lein-figwheel "0.5.0-6"]
...]
:plugins [[lein-figwheel "0.5.0-6"]
...]
:figwheel {...}}}
...)
Here's what I've tried so far:
- Verified I was in the correct directory
- Checked out all code changes made since the last successful figwheel start
- Added
[lein-figwheel "0.5.0-6"]to the base:pluginsvector (this sort of worked, but didn't recognize any of my profile-specific settings) - Restarted my computer
figwheelis a task? Also alein cleanis always a good first step when in trouble like this. And then there's carefully checking all the{}- to make sure things are really grouped where you think they should be. - Chris Murphylein-environplugin and I had created a profiles.clj file. When I remove that file,lein figwheelworks. I haven't quite figured out why this is the case, but at least I've got a workaround now. - detran