Skip to content

Instantly share code, notes, and snippets.

@daviddpark
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviddpark/97a4e878c83c95f1074f to your computer and use it in GitHub Desktop.
Save daviddpark/97a4e878c83c95f1074f to your computer and use it in GitHub Desktop.
om breaks when compiling advanced optimizations

Run the following commands:

lein new figwheel om-tut -- --om
cd om-tut
lein figwheel

Verify that the application responds at http://localhost:3449, then

CTRL-C
lein clean
lein cljsbuild once min
cd resources/public/
python -m SimpleHTTPServer

Verify that the page is served at http://localhost:8000, but see the Javascript console: Uncaught Error: Assert failed: No target specified to om.core/root (not (nil? target))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment