FAQ | This is a LIVE service | Changelog

JS/TS watch script does not copy files when eslints errors are present

👓 What did you see?

Modified code, update it triggered by watch.js but when eslint errors present the UI does not re-render.

What did you expect to see?

Stylistic checks to not block functional manual testing/development. This should be gated later in the development process (e.g. pre-commit or MRs).

🔬 How do I recreate this?

In Lab Allocator project make a trivial update to the frontend TS that introduces an eslint error. The update will not propagate to the dev server.

📚 Any additional information?

Suggested fix, move copyPublicFolder() call to outside the error handler - copy over webpack build regardless of errors.