Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
olivergeorge opened this issue May 13, 2020 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@olivergeorge
Copy link

olivergeorge commented May 13, 2020

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 swannodette added the enhancement New feature or request label May 13, 2020
@swannodette
Copy link
Contributor

A nice idea, will look into it

@swannodette
Copy link
Contributor

Was fixed with #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants