vouch-opensource / krell

Simple ClojureScript React Native Tooling
Eclipse Public License 1.0
675 stars 37 forks source link

Bootstrap non-repl dev build by fetching assets through metro bundler #88

Closed olivergeorge closed 3 years ago

olivergeorge commented 4 years ago

The Metro bundler can serve up static files.

This might provide a mechanism to allow the compile (e.g. -c, not -c -r) to bootstrap itself by using the bundler to serve up JS files.

For example, this URL returns the a source file in the target directory: http://localhost:8081/target/npm_deps.js

As an aside, the same approach might be leveraged to take a responsibility off the REPL.

swannodette commented 4 years ago

A nice idea, will look into it

swannodette commented 3 years ago

Was fixed with #125