Sublime Forum

File monitoring in SFTP losing track of file

#1

I’m working on a WordPress theme based on FoundationPress and it uses Gulp to combine files and handle Sass parsing. When saved, all of the scss files get combined into a file called ‘foundation.css’. I normally set up file monitoring on that file and all my css/scss changes get sent to the server automagically whenever an scss file is saved. That works every time, except this time.

Now I am getting a [WinError 2] that it cannot find the foundation.css file. Here is the output of the log file:

2016-02-14 15:56:35, SFTP: Starting File Monitoring 2016-02-14 15:56:38, SFTP: Starting Upload File Thread 2016-02-14 15:56:38, SFTP: Waiting for previous thread 2016-02-14 15:56:38, SFTP: Beginning file transfer thread 2016-02-14 15:56:38, SFTP: Checking license key 2016-02-14 15:56:38, SFTP: Starting operation put 2016-02-14 15:56:38, SFTP Write: TYPE I 2016-02-14 15:56:38, SFTP Read: 200 TYPE is now 8-bit binary 2016-02-14 15:56:38, SFTP Write: PASV 2016-02-14 15:56:38, SFTP Read: 227 Entering Passive Mode (192,254,189,195,180,191) 2016-02-14 15:56:38, SFTP: Monitoring Error - [WinError 2] The system cannot find the file specified: 'C:\\Users\\pixelnate\\Documents\\Sites\\vesselrepair2\\assets\\stylesheets\\foundation.css' 2016-02-14 15:56:38, SFTP: Stoping File Monitoring 2016-02-14 15:56:38, SFTP Write: STOR _footer.scss 2016-02-14 15:56:38, SFTP Read: 150 Accepted data connection 2016-02-14 15:56:38, SFTP Read: 226-File successfully transferred 2016-02-14 15:56:38, SFTP Read: 226 0.235 seconds (measured here), 10.47 Kbytes per second 2016-02-14 15:56:38, SFTP: Finished operation put

Can anyone please shed some light on what I need to do to fix this? Thanks.

0 Likes

#2

is that related to a package?

0 Likes

#3

You mean, besides SFTP? No. The file gets updated by gulp, and SFTP loses track of it. The file was updated and it should be uploaded to the server, but it just doesn’t happen.

0 Likes

#4

Ok, would you mind to put that on the title please because now reads as if ST is losing track of the file, when what really happens is that a package is losing track of a file.

0 Likes