Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

update local development #1348

Merged
merged 2 commits into from
Nov 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The developer tools in most major browsers are just web applications. They are

We strive for collaboration with [mutual respect for each other](./CODE_OF_CONDUCT.md). Mozilla also has a set of [participation guidelines](https://www.mozilla.org/en-US/about/governance/policies/participation/) which goes into greater detail specific to Mozilla employees and contributors.

[Getting Started](./docs/getting-started.md)
[Getting Started][getting-setup]

## How Can I Contribute?

Expand Down Expand Up @@ -180,3 +180,6 @@ From that original demo the devtools.html project has progressed quite a bit. T
### Firefox Developer Tools

The debugger.html project is targeted to land in Firefox for Firefox 52. However if you're looking to work directly on the DevTools project which ships developer tools for Firefox and Firefox Developer Edition right now you can find more information on the Mozilla wiki [DevTools / Get Involved](https://wiki.mozilla.org/DevTools/GetInvolved).


[getting-setup]:./docs/getting-setup.md
22 changes: 22 additions & 0 deletions docs/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* [L10N](#l10n)
* [RTL](#rtl)
* [Prefs](#prefs)
* [SVGs](#svgs)
* [Flow](#flow)
* [Logging](#logging)
* [Testing](#testing)
Expand Down Expand Up @@ -65,6 +66,27 @@ index fdbdb4e..4759c14 100644

* Restart your development server by typing `ctrl+c` in the Terminal and run `yarn start` again

#### Enabling a Feature Flag

Feature flags help us work on features darkly. We've used them to work on source tabs, watch expressions, and many other features.

The features are listed in the configs [development.json](../configs/development.json), [firefox-panel.json](../configs/firefox-panel.json). You can turn a feature on, by adding it to your local config.


```diff
diff --git a/configs/local.json b/configs/local.json
index fdbdb4e..4759c14 100644
--- a/configs/local.json
+++ b/configs/local.json
@@ -1,6 +1,6 @@
{
"theme": "light",
"features": {
+ "watchExpressions": true
},
```

* Restart your development server by typing `ctrl+c` in the Terminal and run `yarn start` again

### Hot Reloading :fire:

Expand Down