Comments (4)
Sorry for the delayed response!
flow --all
is short for flow status --all
. The reason flow status
does not have an --all
flag is as follows:
- If there is no Flow server running,
flow status
starts a Flow server by runningflow start
- If there is a Flow server running,
flow status
just asks the servers for the errors
The --all
flag is consumed by the server. It's the server that decides whether to check all files or just those with @flow
. In case 1, flow status --all
could just run flow start --all
. But in case 2, what would happen if the Flow server was running without the --all
flag? Would we restart the server? Or would we ignore the flag? This ambiguity is why flow status
doesn't support the --all
flag.
If you have a project that assumes the --all
flag, you can add it to your .flowconfig
.
[options]
all=true
Then whenever Flow runs, it will be as if the --all
flag is set.
from flow-bin.
+1 :)
from flow-bin.
That makes sense, thanks! I didn't know about that option in the .flowconfig
file, it's not in the docs.
from flow-bin.
[include]
.*/lib/helpers/.*
[ignore]
.*/node_modules/fbjs/.*
.*/node_modules/npmconf/.*
.*/node_modules/newrelic/.*
.*/node_modules/cjson/.*
.*/node_modules/bcryptjs/.*
.*/node_modules/config-chain/.*
[libs]
node_modules/flow-interfaces/interfaces
[options]
all=true
% flow
.flowconfig:16 Unsupported option specified! (all)
% npm ls |grep flow 8 ↵ ✖ ✹ ✭
npm ├─┬ [email protected]
├── [email protected]
Anything I'm missing?
from flow-bin.
Related Issues (20)
- Optional chaining error
- Lates Flow-bin broken HOT 3
- empty Object is inexact HOT 2
- docs react elementtype fail HOT 1
- why error? Why in React ElementType with AbstractComponent config empty? HOT 1
- Flow server reporting wrong version HOT 2
- flow-bin 0.125.0 is missing binaries HOT 1
- $FlowFixMe not taken into account anymore in some situations with 0.129.0 HOT 8
- Support for Stage-4 ES proposal-logical-assignment HOT 1
- Passing props to stylesheet returns error
- Slow Server rechecks HOT 1
- Need to close/re-open file for flow to re-analyze it, autocomplete and show definition not working HOT 1
- Flow complains about nullable value inside useEffect HOT 2
- Object.entries always returns type [ string, mixed ] HOT 1
- flow is crashing on windows system HOT 2
- Flow server crashes on the Gitlab CI HOT 1
- Flow crashes on macOS HOT 1
- Unhandled exception: Unix.Unix_error(Unix.EINVAL, "ftruncate", "") HOT 1
- Local modules not resolved with v0.178 HOT 1
- Could not start Flow server! [Server_start_failed (exit, 8)] HOT 1
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 flow-bin.