Closed guest271314 closed 4 years ago
script.js
export const theme = { colors: {0:'a'}, breakpoints: ['b'] }
index.html
<script type="module"> import("./script.js") .then(({theme: {colors, breakpoints}}) => console.log(colors, breakpoints)) </script>
Click "Run"
Output: {0: "a"} ["b"]
{0: "a"} ["b"]
Edit "script.js"
export const theme = { colors: {0:'a'}, breakpoints: ['bb'] // substitute 'bb' for 'b' }
Click "Stop"
Expected output: {0: "a"} ["bb"]
{0: "a"} ["bb"]
Fixed. There was a misconfiguration at the load balancer level.
script.js
index.html
Click "Run"
Output:
{0: "a"} ["b"]
Edit "script.js"
Click "Stop"
Click "Run"
Output:
{0: "a"} ["b"]
Expected output:
{0: "a"} ["bb"]