cncjs
cncjs copied to clipboard
Force the client to flush cache and reload when the server has been rebuilt and restarted.
Description
Trying to create a pull request for switching off the model dialog to "Run Macro" but not seeing changes even though I see the build process complain about syntax errors in the code I've edited. So I know it's 'seeing' the code. Broke down after way too much time and tried something simple like changing the button syle and it didn't change after building and restarting the server. Ya, I figured out the browser is caching the code.... Seriously, shouldn't there be a server flag, random number generated or something to trigger the browser to see there was a change on the server and flush cache or atleast tell the user to hit an OK Reload button?
Versions
- CNCjs: 1.9.22
- Node.js: 8.10.0
- NPM: 6.14.5
How Do You Install CNCjs?
- [x] NPM
- [ ] Download the CNCjs Desktop Application
CNC Controller
- [x] Grbl
- [ ] Smoothieware
- [ ] TinyG/g2core
Hardware
- [] Raspberry Pi
- [x] Desktop or Laptop
- [ ] Mobile Device
Operating System
- [] Not Applicable
- [ ] Windows
- [ ] Mac
- [x] Linux