Skip to content

Commit

Permalink
Merge pull request #8815 from Thevakumar-Luheerathan/fix-ballerina-de…
Browse files Browse the repository at this point in the history
…v-website-8813

Modify offline flag
  • Loading branch information
sm1990 committed Mar 28, 2024
2 parents 7fad087 + e3f34ec commit 8cec6ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ $ bal build --sticky
### The offline mode

Using the` –-offline` flag with `bal build` will run the build offline without connecting to Ballerina Central. This will save build time since the packages are resolved using the distribution repository, and the file system cache of the Ballerina Central repository.
Using the` –-offline` flag will run the compilation offline without connecting to Ballerina Central or any configured Maven repositories. This will save the compilation time since the packages are resolved using the distribution repository, and the file system cache of the Ballerina Central repository/Maven repositories.

Using the `--offline` flag along with the `--sticky` flag will ensure a predictable build with optimal time for compilation.

Expand Down

0 comments on commit 8cec6ca

Please sign in to comment.