Add file watcher polling mode to Streamlit launch configuration for improved cross-platform file change detection
Browse files- run_app.ps1 +2 -1
run_app.ps1
CHANGED
|
@@ -65,7 +65,8 @@ if ($App -eq 'streamlit') {
|
|
| 65 |
'run',
|
| 66 |
$entryPath,
|
| 67 |
'--server.port', $Port,
|
| 68 |
-
'--server.address', $Address
|
|
|
|
| 69 |
)
|
| 70 |
|
| 71 |
if ($NoBrowser) { $cmdArgs += @('--server.headless', 'true') }
|
|
|
|
| 65 |
'run',
|
| 66 |
$entryPath,
|
| 67 |
'--server.port', $Port,
|
| 68 |
+
'--server.address', $Address,
|
| 69 |
+
'--server.fileWatcherType', 'poll'
|
| 70 |
)
|
| 71 |
|
| 72 |
if ($NoBrowser) { $cmdArgs += @('--server.headless', 'true') }
|