connect-compiler icon indicating copy to clipboard operation
connect-compiler copied to clipboard

Serves stale compiled file if there is a compilation error

Open tlrobinson opened this issue 13 years ago • 0 comments

Since old compiled files are not deleted when recompiling the static middleware will serve the old file if compilation of the new file fails, which leads to confusion when developing while not paying close attention to the log.

One fix would be to delete the stale compiled file before trying to compile the new file.

tlrobinson avatar Apr 14 '13 17:04 tlrobinson