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
Shen Yang edited this page Oct 8, 2022
·
8 revisions
In modern js development, all of the javascript is loaded on all of the pages. This is so the client can use a cached version every page load after the first one.
To compile javascript once, run yarn build
If you are editing javascript run yarn build:dev. This will compile your javascript every time you edit a js file.
Similarly
To compile css once, run yarn build:css
If you are editing javascript run yarn build:css:dev. This will compile your css every time you edit a js file.