Comments (5)
Go to theSources
tab of devtools and check breakpoint "pause" icon and "Pause On Caught Exceptions". I would like to see the stack traces.
Also what is very strange is the first error. It didn't find _build/worker/goog/base.js.
Did you run ./script/figwheel.sh
as documented here?
By default it should start :dev
build profile, which is compiling into _build/main/...
(respectively into _dev_build/main
- _dev_build
should be a symlink to _build
- please make sure you didn't lose symlinks when cloning the repo)
This is output from my figwheel:
./script/figwheel.sh
Figwheel: Starting server at http://localhost:7000
Focusing on build ids: dev
Compiling "../lib/_dev_build/main/plastic.js" from ["checkouts/re-frame/src" "checkouts/reagent/src" "checkouts/rewrite-cljs/src" "src/macros" "src/env" "src/dev" "src/common" "src/main" "src/worker"]...
Compile basic sources, elapsed time: 9007.239094 msecs
Add dependencies, elapsed time: 7148.526923 msecs
Successfully compiled "../lib/_dev_build/main/plastic.js" in 16.326 seconds.
Started Figwheel autobuilder
Launching ClojureScript REPL for build: dev
Figwheel Controls:
(stop-autobuild) ;; stops Figwheel autobuilder
(start-autobuild [id ...]) ;; starts autobuilder focused on optional ids
(switch-to-build id ...) ;; switches autobuilder to different build
(reset-autobuild) ;; stops, cleans, and starts autobuilder
(build-once [id ...]) ;; builds source one time
(clean-builds [id ..]) ;; deletes compiled cljs target files
(fig-status) ;; displays current state of system
(add-dep [org.om/om "0.8.1"]) ;; add a dependency. very experimental
Switch REPL build focus:
:cljs/quit ;; allows you to switch REPL to another build
Docs: (doc function-name-here)
Exit: Control+C or :cljs/quit
Results: Stored in vars *1, *2, *3, *e holds last exception object
Prompt will show when figwheel connects to your application
To quit, type: :cljs/quit
cljs.user=>
from plastic.
The problem was a rare situation when figwheel decided to live-reload figwheel.cljs. ns-to-js-file
function then ended up calling itself into infinite recursion.
As I wrote here, figwheel can go crazy. It is better to kill atom and launch it again cleanly.
from plastic.
hmmm ... sorry for that. You are right.
It was documented indeed, but I simply started figwheel without giving the ids.
So
./script/figwheel.sh main worker
Made it work. Thank you for the quick turnaround !
from plastic.
Quick question, any way to insert text right now or is it only read only ?
from plastic.
./script/figwheel.sh
should work just fine. I think the likely problem was that you didn't wait for figwheel to fully start. On slower machines it can take up to one minute.
It is possible to edit the the text. CTRL+arrows perform structural movement, CTRL+down arrow opens inline editing if you are on a leaf token in the structural tree. You can also insert new token with SPACE or pressing opening bracket ( [ { etc.
Look here for current keyboard mappings:
https://github.com/darwin/plastic/blob/master/keymaps/plastic.cson
from plastic.
Related Issues (3)
- GIF / screenshots / videos? HOT 4
- what node/npm version? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plastic.