Skip to content

Commit 750949f

Browse files
authored
Enable caching of /vendor/ folder by default for phptools (#137)
This change enables caching of /vendor/ folder, this enables fast startup and low memory usage once the vendor is cached. The default Laravel 13.x project should load in ~2 seconds, consuming ~200MB RAM.
1 parent d1240a5 commit 750949f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/language_servers/phptools.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl PhpTools {
3636
command: server_path,
3737
args: vec![
3838
"--composerNodes".into(),
39-
"false".into(), // disable /vendor/ caching
39+
"true".into(), // enable /vendor/ caching
4040
],
4141
env: Default::default(),
4242
})

0 commit comments

Comments
 (0)