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: build/README.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
@@ -59,7 +59,7 @@ Usually when contributing to the project the scope of the contribution should be
59
59
60
60
Assuming that you are working on the Media Manager you can run in your terminal (already in the root folder of the Joomla repo) `npm run watch:com_media`. This watcher will automatically recompile the app on every save (there is a debounce of 0.3s so if you have autosave will be clever to reduce the tasks).
61
61
62
-
Assuming that you are working on the Web Authenication JavaScript you can run in your terminal (already in the root folder of the Joomla repo) `npm run watch -- build/media_source/plg_system_webauthn`. This watcher will automatically recompile any JavaScript file inside the folder `build/media_source/plg_system_webauthn/js` on every save. But there's more, since you asked the watcher to check the parent folder (eg `build/media_source/plg_system_webauthn`) you can also edit the SCSS files in the `build/media_source/plg_system_webauthn/scss` or the css files in `build/media_source/plg_system_webauthn/css`. The same example for editing some SCSS in the cassiopeia template would require a command like: `npm run watch -- templates/cassiopeia/scss`.
62
+
Assuming that you are working on the Web Authentication JavaScript you can run in your terminal (already in the root folder of the Joomla repo) `npm run watch -- build/media_source/plg_system_webauthn`. This watcher will automatically recompile any JavaScript file inside the folder `build/media_source/plg_system_webauthn/js` on every save. But there's more, since you asked the watcher to check the parent folder (eg `build/media_source/plg_system_webauthn`) you can also edit the SCSS files in the `build/media_source/plg_system_webauthn/scss` or the css files in `build/media_source/plg_system_webauthn/css`. The same example for editing some SCSS in the cassiopeia template would require a command like: `npm run watch -- templates/cassiopeia/scss`.
63
63
64
64
Once you get your code doing what it meant to do make sure that you checked that you are not breaking any of the Code Style rules by running `npm run lint:css -- --fix` and `npm run lint:js -- --fix` (the `-- --fix` will try to fix anything that's not trivial).
0 commit comments