after I run node-waf configure and node-waf build, a .lock-wscript show in my folder, what’s this? even I run node-waf clean, it still there. shall I keep it or remove it?
after I run node-waf configure and node-waf build , a .lock-wscript show in my
Share
Node uses (used?) Waf as its build system, and the .lock-wscript file is used by Waf to know where the project’s source and build directories are. The lock file is created when you run
waf configureand is deleted when you runwaf distclean. This latter command also deletes the build directory.If you delete the .lock-wscript file then you will have to run
node-waf configurebefore you can build the project again. Apart from that there’s no real harm deleting it, but then it doesn’t take up much disk space either 🙂