I made release build of AngularDart app with
How can I run it locally before deploying to remote hosting server?
At the moment I am using Built-in web server in PHP:
cd build php -S localhost:8888
Is it possible to run locally release build with
Thank you in advance!
webdev serve --release
or, if you want to run it with a specific build config, replace the
serve in your
pub run build_runner serve -c production --release -o web:build
And if you want to get to it from somewhere other then localhost:
webdev serve --release --hostname 0.0.0.0
Answered By – Brian Gorman
Answer Checked By – Marilyn (FlutterFixes Volunteer)