Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to sync code on the fly in windows #7

Open
5HT opened this issue Nov 30, 2015 · 0 comments
Open

fails to sync code on the fly in windows #7

5HT opened this issue Nov 30, 2015 · 0 comments

Comments

@5HT
Copy link
Owner

5HT commented Nov 30, 2015

While it seems that when a source file is modified, mad is sensing it and is doing the compilation:

1> ==> "sample"
1> ==> "d:/AppsDev/Erlang/n2o/myapps"
1> ==> "d:/AppsDev/Erlang/n2o/myapps/apps"
1> ==> "d:/AppsDev/Erlang/n2o/myapps/apps/sample"
1> Compiling d/apps/sample/src/index.erl
1> ==> "sample"
1> ==> "d:/AppsDev/Erlang/n2o/myapps"
1> ==> "d:/AppsDev/Erlang/n2o/myapps/apps"
1> ==> "d:/AppsDev/Erlang/n2o/myapps/apps/sample"
1>

it actually doesn't load the new changed code. For example, if you have a page, say index and you change anything in index.erl ( e.g. some text in the body of a button in fun/0 body() ) and you press refresh (F5) in the browser you still get the old page.
The only solution in order to get the new page is to press Ctrl+C for repl termination and run "mad plan repl" again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant