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.