| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
There is a make watch task available to build and watch for development changes. View it on port 3000 - it uses Browsersync under the hood.
If you use m.thegulocal.com it will try port 3000 and fall back to 9000 if unavailable.
make watchYou can run the Jasmine unit test suite with
make test
It is often necessary to clean the root project when 3rd-party libs have been updated for instance. Developers can use the cleanAll sbt task to clean all sbt projects, rather than only cleaning the current project.
You can debug your local Frontend application, by attaching a debugger.
Any IDE debugger should be compatible. In IntelliJ, add a new Debug Configuration, based on the Remote default. Ensure the Transport is Socket, the Debugger mode is Attach, and the port is set to 1044. Start a new Debug session, and your breakpoints should be active.
When running frontend locally, the AMP version of pages can be viewed by adding the ?amp querystring to the end of the URL. For example:
http://localhost:9000/world/2015/oct/15/obama-delay-withdrawal-us-troops-afghanistan?amp
| Back | FazBrowse Home | New Git URL |