-<span class=grvsc-line><span class=grvsc-source><span class=mtk1>file.write</span><span class=mtk14>(</span><span class=mtk10>"Hello World!"</span><span class=mtk14>)</span><span class=mtk1> </span><span class=mtk14>|></span><span class=mtk1> ignore</span></span></span></code></pre><article class="message is-info"><div class=message-body><div><p>Python bindings are early stage, so some APIs are not yet available.<p>You can report missing APIs or send PR on the <a href=https://github.com/fable-compiler/Fable.Python>Fable.Python repository</a></div></div></article><li><p>Run Fable in watch mode<pre class="atom-one-light grvsc-container"data-index=3 data-language=bash><code class=grvsc-code><span class=grvsc-line><span class=grvsc-source><span class=mtk1>dotnet fable watch</span></span></span></code></pre><p>If you run your node script again, you should see a new file <code>test.txt</code> with the content <code>Hello World</code>.<p>Try changing the content of <code>Hello World</code> to something else and re-run your script.<p>You should see that Fable re-compile your code and the file content changed.</ul></div></div></section><div class="section bd-docs-pagination bd-pagination-links"><a class="button bd-fat-button is-primary is-light bd-pagination-prev" href="/docs/getting-started/typescript.html"><i>←</i><span class="is-hidden-mobile"><em>Getting started</em><strong>TypeScript</strong></span></a><a class="button bd-fat-button is-primary is-light bd-pagination-next" href="/docs/getting-started/rust.html"><span class="is-hidden-mobile"><em>Getting started</em><strong>Rust</strong></span><i>→</i></a></div></div></div></div></div><script async="" src="/resources/nacara-standard-layouts/scripts/menu.js"></script></body></html>
0 commit comments