nitrogen在console下直接重新编译erl文件
原文写的是
There are three different ways to compile code in Nitrogen:
- If you are?in the Erlang console?then run?
sync:go(). - 如果是开启的console模式的话就直接执行sync:go()
This will look at all loaded modules, find their associated Emakefiles, and run?
make:all([load]).?to recompile.- If?Nitrogen is running in the background?then run?
./bin/dev compile - 如果是nitrogen start启动的nitrogen,就运行./bin/nitrogen complie
- 如果是./bin/dev start启动nitrogen,就运行./bin/dev complie
This connects to the running Nitrogen application and issues a?
sync:go().?command. - If?Nitrogen is stopped?then run?
make compile - 如果nitrogen服务器没开启,就使用make compile就行了
This calls?
erl -make, causing your application to be compiled based on the provided Emakefile.