| OLD | NEW |
| 1 Dart Observatory Developer Guide | 1 Dart Observatory Developer Guide |
| 2 --- | 2 --- |
| 3 | 3 |
| 4 Assumptions: | 4 Assumptions: |
| 5 You are running pub from the latest dev channel release of Dart Editor. | 5 You are running pub from the latest dev channel release of Dart Editor. |
| 6 | 6 |
| 7 During development you do not need to run dart2js or rebuild the VM (unless | 7 During development you do not need to run dart2js or rebuild the VM (unless |
| 8 you are also making changes to the backend). While you're working on your | 8 you are also making changes to the backend). While you're working on your |
| 9 feature follow the steps: | 9 feature follow the steps: |
| 10 | 10 |
| 11 1. Open runtime/bin/vmservice/client in the Dart Editor | 11 1. Open runtime/bin/vmservice/client in the Dart Editor |
| 12 2. Run pub upgrade | 12 2. Run pub upgrade |
| 13 3. Run dart --enable-vm-service --pause-isolates-on-exit script.dart | 13 3. Run dart --observe script.dart |
| 14 4. Run index.html in Dartium | 14 4. Run index.html in Dartium |
| 15 | 15 |
| 16 At this point you should see the initial Observatory UI and that | 16 At this point you should see the initial Observatory UI and that |
| 17 it is communicating with the VM you launched in step 3. | 17 it is communicating with the VM you launched in step 3. |
| 18 | 18 |
| 19 Continue to develop and iterate until you're ready to upload your change | 19 Continue to develop and iterate until you're ready to upload your change |
| 20 for review. Upload your change and get an LGTM. | 20 for review. Upload your change and get an LGTM. |
| 21 | 21 |
| 22 5. Run pub build | 22 5. Run pub build |
| 23 6. Run ./deploy.sh | 23 6. Run ./deploy.sh |
| 24 | 24 |
| 25 At this point you should rebuild your VM and: | 25 At this point you should rebuild your VM and: |
| 26 | 26 |
| 27 7. Launch dart --enable-vm-service --pause-isolates-on-exit script.dart | 27 7. Launch dart --observe script.dart |
| 28 | 28 |
| 29 In a non-Dart enabled browser navigate to localhost:8181 and ensure | 29 In a non-Dart enabled browser navigate to localhost:8181 and ensure |
| 30 that your feature works after being compiled to JavaScript. | 30 that your feature works after being compiled to JavaScript. |
| 31 | 31 |
| 32 8. Commit your change | 32 8. Commit your change |
| 33 | 33 |
| OLD | NEW |