Gilad,
I have one update on the merge
![]()
of the PR #125 (it is closed, so I am responding here, not sure responding in the PR would reach your email).
There was a understandable confusion during the merge that we should fix before you start testing. Let me summarize it here:
1. The file 'platforms/webIDE/sw.js' should have the version line as follows:
const pwaVersion = 1;
2. The file 'pwa-deployed-versions/newspeaklanguage.org.version' should contain number 44 (or any larger number, no newline at the end)
44
The reason is, as follows:
The version-update code function
'copy_sw_to_http_dir_increasing_pwa_version'
assumes the presence of the string
'const pwaVersion = 1;'
in
'platforms/webIDE/sw.js'
then uses the last used version number from 'pwa-deployed-versions/newspeaklanguage.org.version', increases it by 1, and copies the resulting 'sw.js' into the directory where the HTTP server is running.
Can you please make the two changes (in 1. and 2. above) before you start your testing?
Let me know if I need to clarify it better,
Milan