lein-figwheel

isak 2017-02-27T00:14:42.000843Z

@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.

isak 2017-02-27T00:15:33.000844Z

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

shaun-mahood 2017-02-27T00:31:41.000845Z

@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.

isak 2017-02-27T00:38:17.000846Z

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

πŸ‘ 1
negaduck 2017-02-27T17:25:50.000849Z

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

isak 2017-02-27T20:49:05.000853Z

@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-mahood 2017-02-27T20:56:36.000854Z

@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

isak 2017-02-27T20:59:10.000856Z

@shaun-mahood ill do that πŸ‘