You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems air is using cmd to spawn go processes, by default it will generate tmp is not recognized as an internal or external command error, so I changed the \ in full_bin property to /, others are the same as air_example.conf.
Then every time after I changed something, air reloads the peoject, and the console will output an error:
failed to remove C:\path\to\project\tmp\main.exe, error: remove C:\path\to\project\C:\path\
to\project\tmp\main.exe: The filename, directory name, or volume label syntax is incorrect.
It is removing C:\path\to\project\C:\path\to\project\tmp\main.exe while the correct file path is C:\path\to\project\tmp\main.exe. My condition is a little different from issue#2, I don't know why but my windows can remove a file that is in use. And besides the error message, everything just works fine, the program actually gets reloaded and serving correct contents.
The text was updated successfully, but these errors were encountered:
First of all, thanks for the great work!
I'm using Windows 10 Enterprise Edition 1607 LTSB, and my .air.conf file is like:
It seems air is using
cmd
to spawn go processes, by default it will generatetmp is not recognized as an internal or external command
error, so I changed the\
infull_bin
property to/
, others are the same as air_example.conf.Then every time after I changed something, air reloads the peoject, and the console will output an error:
It is removing
C:\path\to\project\C:\path\to\project\tmp\main.exe
while the correct file path isC:\path\to\project\tmp\main.exe
. My condition is a little different from issue#2, I don't know why but my windows can remove a file that is in use. And besides the error message, everything just works fine, the program actually gets reloaded and serving correct contents.The text was updated successfully, but these errors were encountered: