You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration/introduction.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ The following properties can be configured, place them above the modules item:
59
59
|`electronOptions`| An optional array of Electron (browser) options. This allows configuration of e.g. the browser screen size and position (example: `electronOptions: { fullscreen: false, width: 800, height: 600 }`). Kiosk mode can be enabled by setting `kiosk: true`, `autoHideMenuBar: false` and `fullscreen: false`. More options can be found [here](https://github.com/electron/electron/blob/master/docs/api/browser-window.md). This will most likely be used in advanced installations, below. |[]|
60
60
|`electronSwitches`| An optional array of Electron switches. This allows configuration of electron app itself. <br> This properties will not affect the `serveronly` mode. Usually normal `MM` users don't need this property, but if you are a hard-core hacker, you might need this to handle Electron itself over `MagicMirror` provides. More options can be found [here](https://www.electronjs.org/docs/latest/api/command-line-switches) (Not all available switches are described there.)<br>example:`electronSwitches:["enable-transparent-visuals", "disable-gpu"];`|[]|
61
61
|`customCss`| The path of the `custom.css` stylesheet. The default is `css/custom.css`. |`css/custom.css`|
62
+
|`watchTargets`| An optional array of file paths to monitor when using `node --run server:watch`. When any of these files change, the server automatically restarts and connected browsers reload. Particularly useful when frequently modifying `config.js`, `custom.css`, or module files during development or setup. Example: `watchTargets: ["config/config.js", "css/custom.css", "modules/MMM-MyModule/MMM-MyModule.js"]`. See [Development Mode](/core-development/debugging.html#development-mode-with-auto-reload) for more details. |`undefined`|
62
63
63
64
After the above options, you will then add modules. See
64
65
[module configuration](/modules/configuration.md) for more information.
| MM_CONFIG_FILE | This specifies an alternate configuration file for the system. This is useful when running multiple mirrors on the same device. This does not work with the template option below. NOTE: this file **_MUST_** be located in a directory within the MagicMirror directory. Ideally, place any config file in the config subdirectory. |
76
77
| MM_PORT | This specifies an alternate TCP/IP port, overriding "port" item within the config file. This is useful for testing to see if the product will run using another port. |
77
-
| mmFetchTimeout | time in milliseconds for fetch timeout. default (30000) <br><br>this value can be used to adjust the nodejs fetch function timeout value (default 10 seconds) for all node_helper modules that use fetch() |
78
+
| mmFetchTimeout | time in milliseconds for fetch timeout. default (30000) <br><br>this value can be used to adjust the nodejs fetch function timeout value for all node_helper modules that use fetch()|
Copy file name to clipboardExpand all lines: modules/updatenotification.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The following properties can be configured:
31
31
|`updates`| Array of updates modules commands. <br> **Default value:**`[]` (see bellow) |
32
32
|`updateTimeout`| Maximum Update duration before cancel it. <br> **Default Value:**`120000` (2 minutes) |
33
33
|`updateAutorestart`| Restart automatically MagicMirror² after update is done. <br> **Default Value:**`false`|
34
-
|`useModulesFromConfig`| If `false`, iterate over the modules directory instead of using the modules defined in `config.js`. <br> **Default Value:**`true`|
34
+
|`useModulesFromConfig`| If `false`, iterate over the modules directory instead of using the modules defined in `config.js`. <br> **Default Value:**`true`|
0 commit comments