-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
How can I implement Flow? #907
Comments
I think I've discovered answer. I'll write it here in a days. |
So, that's what I've ended up with: Stack
Folder structerIn the root directory (where
Package.json
.babelrc
.eslintrc.js
.flowconfig
StartTo start everything working you need to open 2 terminals:
When you make changes in any Lifehacks
P.S.I'll appreciate and advices or questions. . |
@Dionid Thanks for sharing. I will close the issue, since it's not actionable on my end |
@thetutlage what are your thoughts on implementing flow in the library? |
@Dionid did you define global functions (e.g. |
For reference: facebook/flow#7014 Also, if you're coming off google reading this, I'd check out adonisjs/discussion#65 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm trying to use Flow with AdonisJS.
I want my app to work in
adonis serve --dev --debug
mode, but with Flow type checking.I have idea to create folder like
flowApp
write code there, run something likenodemon
that will transpile code toapp
folder, whereadonis serve --dev --debug
will get code and reload server. What do you think about this idea? Is there better way to use Flow in Adonis?The text was updated successfully, but these errors were encountered: