Fork me on GitHub
#lein-figwheel
<
2017-02-27
>
isak00:02:42

@shaun-mahood If I run figwheel, then Github for Windows, and then want to e.g., discard my local changes to a .cljs file, then Github for windows shows an error message. I forgot exactly what it says. Then I shut down figwheel, try again, and it works. I've also had this when using git on the command line, for example trying to checkout another branch.

isak00:02:33

Maybe a problem with the way the files are watched on windows?

shaun-mahood00:02:41

@isak: If the error message is useful at all that would be awesome - file closing seems to be one of the things Windows is a lot more picky about.

isak00:02:17

@shaun-mahood - i will report back tomorrow. I'll be able to reproduce it easily at work

negaduck17:02:50

hello. Is there a way to strip a <script src=”dev.js”></script> from index.html when the build is not dev?

isak20:02:05

@shaun-mahood: I wasn't able to reproduce it again today, but I did a search, and remember the error is like this: Unlink of file 'src/foo/bar.cljs' failed. Should I try again? (y/n)

shaun-mahood20:02:36

@isak: Looks like a still open file is the likely culprit - first SO link seems like that's been a problem for other file watchers as well http://stackoverflow.com/questions/10181057/unlink-of-file-failed You could probably confirm next time it happens using https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx

isak20:02:10

@shaun-mahood ill do that 👍