Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1875

Gulp tasks not running with Ionic-cli v2 on ionic serve

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: Ionic
    • Labels:
    • Testing Instructions:
      Hide

      Note for testers: read all the instructions before start testing.

      1. Run ionic serve
      2. Check the browser shows the app and it works fine.
      3. Modify one file and check the app is restarted and shows the changes.
      4. Stop ionic serving.
      5. Update ionic cli: npm install -g ionic (Probably sudo is needed).
      6. Run ionic serve
      7. Check the browser shows the app and it works fine.
      8. Modify one file of each type (js, lang json, css, html) and check the app restarts.
        1. Note: CSS changes will not be reflected in the app at first. This is an old bug that will be solved in MOBILE-2021
      9. Check also the watch detects changes and works on it.
      Show
      Note for testers: read all the instructions before start testing. Run ionic serve Check the browser shows the app and it works fine. Modify one file and check the app is restarted and shows the changes. Stop ionic serving. Update ionic cli: npm install -g ionic (Probably sudo is needed). Run ionic serve Check the browser shows the app and it works fine. Modify one file of each type (js, lang json, css, html) and check the app restarts. Note: CSS changes will not be reflected in the app at first. This is an old bug that will be solved in MOBILE-2021 Check also the watch detects changes and works on it.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      With the documentation on setting up the development environment, ionic-cli is installed by running `npm install -g ionic`. This will install the latest ionic-cli (currently v2). Once running `ionic serve`, it will not execute the gulp tasks specified in ionic.project and it is required to run `gulp watch` as a separate process manually.

      Consider properly supporting ionic-cli v2, or specify in the documentation that ionic-cli v1 should be used.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Feb/17