plnkr / feedback

Feedback on Plunker
19 stars 11 forks source link

ES Module values do not update when edited #483

Closed guest271314 closed 4 years ago

guest271314 commented 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"]

Edit "script.js"

export const theme = {
  colors: {0:'a'},
  breakpoints: ['bb'] // substitute 'bb' for 'b'
}

Click "Stop"

Click "Run"

Output: {0: "a"} ["b"]

Expected output: {0: "a"} ["bb"]

ggoodman commented 4 years ago

Fixed. There was a misconfiguration at the load balancer level.